From 6388ef21f8ecfc91139a92077970ba1e7f37e607 Mon Sep 17 00:00:00 2001 From: dosisod <39638017+dosisod@users.noreply.github.com> Date: Sat, 13 Mar 2021 20:46:12 -0800 Subject: [PATCH] Add noreturn macro (#118) --- libc/isystem/stdnoreturn.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 libc/isystem/stdnoreturn.h diff --git a/libc/isystem/stdnoreturn.h b/libc/isystem/stdnoreturn.h new file mode 100644 index 00000000..216c41bf --- /dev/null +++ b/libc/isystem/stdnoreturn.h @@ -0,0 +1,10 @@ +#ifndef LIBC_ISYSTEM_STDNORETURN_H_ +#define LIBC_ISYSTEM_STDNORETURN_H_ + +COSMOPOLITAN_C_START_ + +#define noreturn wontreturn + +COSMOPOLITAN_C_END_ + +#endif