Line
Link Here
|
0 |
-- a/sys/sys/cdefs.h |
0 |
++ b/sys/sys/cdefs.h |
Lines 228-234
Link Here
|
228 |
#if defined(__cplusplus) && __cplusplus >= 201103L |
228 |
#if defined(__cplusplus) && __cplusplus >= 201103L |
229 |
#define _Alignas(e) alignas(e) |
229 |
#define _Alignas(e) alignas(e) |
230 |
#define _Alignof(e) alignof(e) |
230 |
#define _Alignof(e) alignof(e) |
231 |
#define _Noreturn [[noreturn]] |
231 |
#if __GNUC_PREREQ__(4, 7) |
|
|
232 |
#define _Noreturn __attribute__((__noreturn__)) |
233 |
#else |
234 |
#define _Noreturn [[noreturn]] |
235 |
#endif |
232 |
#define _Static_assert(e, s) static_assert(e, s) |
236 |
#define _Static_assert(e, s) static_assert(e, s) |
233 |
/* FIXME: change this to thread_local when clang in base supports it */ |
237 |
/* FIXME: change this to thread_local when clang in base supports it */ |
234 |
#define _Thread_local __thread |
238 |
#define _Thread_local __thread |