about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-08 00:14:25 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-08 00:14:25 -0400
commitf0f17b5b70f700f83d6ee838458d52d94d4e7ac0 (patch)
tree70867ce45e894d523f8d8411578ea171f80fb21a
parent3cd084bb03aabd303777e866ca30b320194ccbd7 (diff)
downloadmusl-f0f17b5b70f700f83d6ee838458d52d94d4e7ac0.tar.gz
musl-f0f17b5b70f700f83d6ee838458d52d94d4e7ac0.tar.xz
musl-f0f17b5b70f700f83d6ee838458d52d94d4e7ac0.zip
add stdnoreturn.h (C11)
features.h contains the fallback logic for pre-C11 compilers
-rw-r--r--include/stdnoreturn.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/stdnoreturn.h b/include/stdnoreturn.h
new file mode 100644
index 00000000..60d924a0
--- /dev/null
+++ b/include/stdnoreturn.h
@@ -0,0 +1,5 @@
+#ifndef _STDNORETURN_H
+#define _STDNORETURN_H
+#include <features.h>
+#define noreturn _Noreturn
+#endif