_Noreturn: future-proof non-GNU and non-MSVC compilers
[gnulib.git] / build-aux / snippet / _Noreturn.h
index 1a7b4da..c44ad89 100644 (file)
@@ -1,4 +1,4 @@
-#ifndef _Noreturn
+#if !defined _Noreturn && __STDC_VERSION__ < 201112
 # if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
       || 0x5110 <= __SUNPRO_C)
 #  define _Noreturn __attribute__ ((__noreturn__))