Microsoft KB Archive/87523

{|
 * width="100%"|

PRB: &quot;MSDOS&quot; Not Defined When Microsoft Extensions Disabled

 * }

Q87523

7.00 | 1.00 1.50 MS-DOS | WINDOWS kbtool kbprb -- The information in this article applies to: - The Microsoft C/C++ Compiler (CL.EXE) included with: - Microsoft C/C++ for MS-DOS, version 7.0 - Microsoft Visual C++ for Windows, versions 1.0 and 1.5 -- SYMPTOMS ======== When the /Za compiler option is used, the predefined symbol &quot;MSDOS&quot; 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 &quot;C Language Reference&quot; 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

Issue type :

Technology : kbVCsearch kbAudDeveloper kbCVCComp