Syntax

#ifdef name

Description

All following lines until the corresponding #endif, #else, or #elif are conditionally assembled if name is previously #defined. Shorthand for #if defined(name)

Example

#ifdef FOO
// do something
#endif