Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>#ifdef conditional compilation by macro definition</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 #ifdef                  Conditional Compilation by Macro Definition

 #ifdef  identifier

    The #ifdef directive, along with #else and #endif, controls
    compilation in a selective manner.  These directives are used to
    identify a group of source lines which are included or excluded from
    the compilation based on whether a given macro is defined.  If the
    macro is defined the group of lines following the line with #ifdef is
    compiled.

      Notes:    This directive achieves the same result as:

                       #if defined(identifier)

                #ifdef directives can be nested up to 32 levels deep.


See Also: #else #elif #endif #ifndef #if defined

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson