macro conditional to check declaration