Add noreturn macro

This commit is contained in:
dosisod 2021-03-09 20:20:56 -08:00
parent 67b9675c81
commit 87d3a24f2d

View file

@ -0,0 +1,15 @@
#ifndef LIBC_ISYSTEM_STDNORETURN_H_
#define LIBC_ISYSTEM_STDNORETURN_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
#if __STDC_VERSION__ + 0 >= 201112
COSMOPOLITAN_C_START_
#define noreturn _Noreturn
COSMOPOLITAN_C_END_
#endif /* C11 */
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif