add stdnoreturn.h (C11)
authorRich Felker <dalias@aerifal.cx>
Sat, 8 Sep 2012 04:14:25 +0000 (00:14 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 8 Sep 2012 04:14:25 +0000 (00:14 -0400)
features.h contains the fallback logic for pre-C11 compilers

include/stdnoreturn.h [new file with mode: 0644]

diff --git a/include/stdnoreturn.h b/include/stdnoreturn.h
new file mode 100644 (file)
index 0000000..60d924a
--- /dev/null
@@ -0,0 +1,5 @@
+#ifndef _STDNORETURN_H
+#define _STDNORETURN_H
+#include <features.h>
+#define noreturn _Noreturn
+#endif