| Common Predefined Macros

Previous | Predefined Macros | Next

The common predefined macros are GNU C extensions. They are available with the same meanings regardless of the machine or operating system on which you are using GNU C. Their names all start with double underscores.

- __GNUC__
- __GNUC_MINOR__
- __GNUC_PATCHLEVEL__
- __VERSION__
- __STRICT_ANSI__
- __BASE_FILE__
- __INCLUDE_LEVEL__
- __OPTIMIZE__
- __OPTIMIZE_SIZE__
- __NO_INLINE__
- __CHAR_UNSIGNED__
- __CHAR_BIT__
- __INT_SHORT__
- __SCHAR_MAX__, __SHRT_MAX__, __INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__
- __REGISTER_PREFIX__
- __USER_LABEL_PREFIX__