|
WinTer 0.1.1
Windows Terminal Emulator
|
Macros that identify the compiler, OS, architecture, endianness, C standard, and build configuration at preprocessing time. More...
Macros | |
| #define | OS_WINDOWS 1 |
| Defined to 1 if compiling for a Windows operating system. | |
| #define | OS_NAME "Windows" |
| Human-readable string name of the operating system. | |
| #define | BUILD_DEBUG 1 |
| Defined to 1 if compiling in Debug mode. | |
| #define | BUILD_NAME "Debug" |
| Human-readable string name of the build configuration. | |
| #define | C_STANDARD 89 |
| Integer representing the detected C standard version. | |
| #define | C_STANDARD_NAME "C89/Default" |
| Human-readable string of the detected C standard. | |
Macros that identify the compiler, OS, architecture, endianness, C standard, and build configuration at preprocessing time.
Each category defines both a numeric flag (e.g., OS_WINDOWS 1) and a human-readable name string (e.g., OS_NAME "Windows") so you can use them in both #if guards and printf diagnostics without duplication.
| #define BUILD_DEBUG 1 |
Defined to 1 if compiling in Debug mode.
Definition at line 112 of file base_macros.h.
| #define BUILD_NAME "Debug" |
Human-readable string name of the build configuration.
Definition at line 114 of file base_macros.h.
| #define C_STANDARD 89 |
Integer representing the detected C standard version.
Definition at line 154 of file base_macros.h.
| #define C_STANDARD_NAME "C89/Default" |
Human-readable string of the detected C standard.
Definition at line 156 of file base_macros.h.
| #define OS_NAME "Windows" |
Human-readable string name of the operating system.
Definition at line 66 of file base_macros.h.
| #define OS_WINDOWS 1 |
Defined to 1 if compiling for a Windows operating system.
Definition at line 64 of file base_macros.h.