mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 00:08:56 +00:00
CBE: Only try to use GNU attribute when __GNUC__is set
This commit is contained in:
parent
e2aad33d4e
commit
9d92d62525
@ -1,6 +1,6 @@
|
||||
#if __STDC_VERSION__ >= 201112L
|
||||
#define noreturn _Noreturn
|
||||
#elif !__STRICT_ANSI__
|
||||
#elif __GNUC__ && !__STRICT_ANSI__
|
||||
#define noreturn __attribute__ ((noreturn))
|
||||
#else
|
||||
#define noreturn
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user