From WikiChip
c/standard predefined macros
< c
Revision as of 01:58, 14 December 2013 by David (talk | contribs) (Created page with "The C '''standard predefined macros''' are a set of macros that must be defined by the implementation. == Predefined macros == {| class="wikitable sortable" |- ! Macro name !...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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