 | C166 User's Guide |  |
|
|
| Predefined MacrosThe C166 Compiler provides you with predefined constants to use in preprocessor directives and C code for more portable programs. The following table lists and describes each one. | Constant | Description |
|---|
| __C166__ | Version number of the compiler (for example, 501 for version 5.01). | | __DATE__ | Date when the compilation was started in ANSI format (month dd yyyy). | | __DATE2__ | Date when the compilation was started in short form (mm/dd/yy). | | __DUS__ | Defined to 1 to indicate that the DYNAMICUSRSTK directive is active. | | __FILE__ | Name of the file being compiled. | | __FLOAT64__ | Defined to 1 to indicate that the FLOAT64 directive is active. | | __LINE__ | Current line number in the file being compiled. | | __MAC__ | Defined to 1 to indicate that the MAC directive is active. | | __MOD167__ | Defined to 1 to indicate that the MOD167 directive is active. | | __MODEL__ | Memory model selected: | | __MODV2__ | Defined to 1 to indicate that the MODV2 directive is active. | | __SAVEMAC__ | Defined to 1 to indicate that the SAVEMAC directive is active. | | __STDC__ | Defined to 1 to indicate full conformance with the ANSI C Standard. | | __TIME__ | Time when the compilation was started. |
Note - There are two (2) leading and trailing underscore characters ('_') used for the predefined constants.
Related Knowledgebase Articles |
|