aboutsummaryrefslogtreecommitdiffstats
path: root/vms/vms-conf.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-04-08 12:21:35 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-04-08 12:21:35 +0300
commitdb344a800133d00132fd85b546532affb4b3cf77 (patch)
treec94602c6383114c883e437aa48b31cd231f3234b /vms/vms-conf.h
parent0714b773d7f4853fb2ba95a7b36d0230bad81dc9 (diff)
parentabde9f31440e862d4fd51605d8fade099b602cb5 (diff)
downloadegawk-db344a800133d00132fd85b546532affb4b3cf77.tar.gz
egawk-db344a800133d00132fd85b546532affb4b3cf77.tar.bz2
egawk-db344a800133d00132fd85b546532affb4b3cf77.zip
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 'vms/vms-conf.h')
-rw-r--r--vms/vms-conf.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/vms/vms-conf.h b/vms/vms-conf.h
index 1d1ffe51..59abd5de 100644
--- a/vms/vms-conf.h
+++ b/vms/vms-conf.h
@@ -7,8 +7,8 @@
*/
/*
- * Copyright (C) 1991-1992, 1995-1996, 1999, 2001-2003, 2005, 2009, 2010, 2011
- * the Free Software Foundation, Inc.
+ * Copyright (C) 1991-1992, 1995-1996, 1999, 2001-2003, 2005, 2009, 2010, 2011,
+ * 2012, the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -461,6 +461,18 @@
/* 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