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>#ifndef conditional compilation by lack of macro definition</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 #ifndef                 Conditional Compilation by Lack of Macro Definition

 #ifndef  identifier


    The #ifndef 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 not defined the group of lines following the line with
    #ifndef is compiled.

      Notes:    This directive achieves the same result as:

                       #if !defined(identifier).

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


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

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