-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
Difference between revisions of "c/standard predefined macros"
< c
(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 !...") |
m (→Standard C values) |
||
Line 28: | Line 28: | ||
| __STDC__ || [[C89]] || | | __STDC__ || [[C89]] || | ||
|- | |- | ||
− | | __STDC_VERSION__ || [[C90]] | + | | __STDC_VERSION__ || [[C90]] || |
|- | |- | ||
| __STDC_VERSION__ || [[NA1]] || 199409L | | __STDC_VERSION__ || [[NA1]] || 199409L |
Revision as of 09:08, 17 December 2013
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 |