PRB: "MSDOS" Not Defined When Microsoft Extensions Disabled

ID: Q87523

7.00 | 1.00 1.50 MS-DOS | WINDOWS kbtool kbprb

The information in this article applies to:

SYMPTOMS

When the /Za compiler option is used, the predefined symbol "MSDOS" is not defined.

STATUS

This is expected behavior. According to the ANSI standard, the compiler recognizes only the following symbols: __DATE__, __FILE__, __LINE__, __STDC__, and __TIME__. These symbols and the ones that are Microsoft extensions and discussed on page 199 of the "C Language Reference" manual for version 7.0.

Additional reference words: 7.00 8.00 8.00c 1.00 1.50 KBCategory: kbtool kbprb KBSubcategory: CLIss Keywords : kb16bitonly

Last Reviewed: July 18, 1997