aboutsummaryrefslogtreecommitdiffstats
path: root/configh.in
diff options
context:
space:
mode:
Diffstat (limited to 'configh.in')
-rw-r--r--configh.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/configh.in b/configh.in
index 5ab18321..557a57c8 100644
--- a/configh.in
+++ b/configh.in
@@ -411,6 +411,19 @@
/* Define to 1 if on MINIX. */
#undef _MINIX
+/* The _Noreturn keyword of C11. */
+#ifndef _Noreturn
+# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
+ || 0x5110 <= __SUNPRO_C)
+# define _Noreturn __attribute__ ((__noreturn__))
+# elif defined _MSC_VER && 1200 <= _MSC_VER
+# define _Noreturn __declspec (noreturn)
+# else
+# define _Noreturn
+# endif
+#endif
+
+
/* Define to 2 if the system does not provide POSIX.1 features except with
this defined. */
#undef _POSIX_1_SOURCE