Surrounded entire loop with #ifdef