```
#if blah blah blah
    bool anyext = true;
#else
    bool anyext = false;
#endif
    if (anyext &&
       global.params.run &&
   ...
```

Or really anything that has the same effect.