From 0f8adc258f763b752612fc5916c3045d88a36982 Mon Sep 17 00:00:00 2001 From: dosisod <39638017+dosisod@users.noreply.github.com> Date: Wed, 10 Mar 2021 20:08:50 -0800 Subject: [PATCH] Alias noreturn to wontreturn --- libc/isystem/stdnoreturn.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libc/isystem/stdnoreturn.h b/libc/isystem/stdnoreturn.h index 45dd3dcc2..216c41bf9 100644 --- a/libc/isystem/stdnoreturn.h +++ b/libc/isystem/stdnoreturn.h @@ -1,15 +1,10 @@ #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 +#define noreturn wontreturn COSMOPOLITAN_C_END_ -#endif /* C11 */ -#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */ - #endif