From WikiChip
Difference between revisions of "c/standard predefined macros"
< c

m (Standard C values)
(No difference)

Revision as of 09:27, 4 January 2015

The C standard predefined macros are a set of macros that must be defined by the implementation.

Predefined macros

Macro name since
__DATE__ C89
__FILE__ C89
__LINE__ C89
__STDC__ C89
__STDC_HOSTED__ C99
__STDC_VERSION__ C90
__TIME__ C89

Standard C values

Macro name version value
__STDC__ C89
__STDC_VERSION__ C90
__STDC_VERSION__ NA1 199409L
__STDC_VERSION__ C99 199901L
__STDC_VERSION__ C11 201112L