Most IDEs, including Xcode and Visual Studio, will not allocate code in (unoccupied) conditional blocks, because in many cases this will lead to errors that do not apply and confuse the selection. Consider using for example
#ifdef __APPLE__
for code that runs on multiple platforms. Visual Studio will not know how to highlight Apple function names, and Xcode will not know what to do with Visual Studio pragmas, etc.
source share