mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
More post-C99 predefined macros.
This commit is contained in:
parent
2f357ba9b2
commit
f8d08b1e1a
@ -407,6 +407,14 @@ void Compile (const char* FileName)
|
||||
/* DefineNumericMacro ("__STDC__", 1); <- not now */
|
||||
DefineNumericMacro ("__STDC_HOSTED__", 1);
|
||||
|
||||
/* Stuff unsupported */
|
||||
if (IS_Get (&Standard) > STD_C99) {
|
||||
DefineNumericMacro ("__STDC_NO_ATOMICS__", 1);
|
||||
DefineNumericMacro ("__STDC_NO_COMPLEX__", 1);
|
||||
DefineNumericMacro ("__STDC_NO_THREADS__", 1);
|
||||
DefineNumericMacro ("__STDC_NO_VLA__", 1);
|
||||
}
|
||||
|
||||
/* Create the base lexical level */
|
||||
EnterGlobalLevel ();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user