|Synopsis:||Avoid the use of conditional compilation|
Conditional compilation makes the flow of control harder to follow, and has ill effects on testability. Platform dependencies should be handled using platform specific shadow files, preferably located in a general platform building-block.
An example of the last exception is:
#ifdef VXWORKS #pragma SETPLATFORMSPECIFICOPTION #endif