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 - <b>predefined macros macros built-in to the preprocessor</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Predefined Macros        Macros Built-in to the Preprocessor

    There are a number of predefined identifiers automatically known to
    the preprocessor. They are:

       MSDOS    Identifies MS-DOS as the target operating system.

       M_I86    Identifies the target CPU as a member of the Intel I86
                family.

     M_I86xM    Identifies the memory model being compiled. The x is one
                of (S)mall, (C)ompact, (M)edium, (L)arge or (H)uge.

 NO_EXT_KEYS    Disables recognition of extended keywords (such as far
                and fortran). This is activated using the compile-time
                switch /Za.

    __LINE__    the current source line number being compiled, as a
                decimal integer.

    __FILE__    the current source file name being compiled, as a string
                of the form "file-name".

       Note:    If you use #undef with __LINE__ and __FILE__ the behavior
                will be undefined.

See Also: #ifdef defined #line

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