cosmopolitan/libc/isystem/stdnoreturn.h
Justine Tunney d7c79f43ef
Clean up more code
- Found some bugs in LLVM compiler-rt library
- The useless LIBC_STUBS package is now deleted
- Improve the overflow checking story even further
- Get chibicc tests working in MODE=dbg mode again
- The libc/isystem/ headers now have correctly named guards
2023-06-18 01:00:05 -07:00

12 lines
375 B
C

#ifndef _STDNORETURN_H
#define _STDNORETURN_H
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112
#define noreturn _Noreturn
#elif (defined(__has_attribute) && __has_attribute(__noreturn__)) || \
(defined(__GNUC__) && __GNUC__ * 100 + __GNUC_MINOR__ >= 208)
#define noreturn __attribute__((__noreturn__))
#else
#define noreturn
#endif
#endif /* _STDNORETURN_H */