strtoumax: Avoid link error on OSF/1 with DTK cc.
[gnulib.git] / tests / test-exclude.c
index bab4676..9c7997d 100644 (file)
@@ -63,15 +63,10 @@ ARGMATCH_VERIFY (exclude_keywords, exclude_flags);
 /* Some packages define ARGMATCH_DIE and ARGMATCH_DIE_DECL in <config.h>, and
    thus must link with a definition of that function.  Provide it here.  */
 #ifdef ARGMATCH_DIE_DECL
-# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8)
-#  define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
-# else
-#  define ATTRIBUTE_NORETURN /* empty */
-# endif
-#endif
 
-ARGMATCH_DIE_DECL ATTRIBUTE_NORETURN;
+_Noreturn ARGMATCH_DIE_DECL;
 ARGMATCH_DIE_DECL { exit (1); }
+
 #endif
 
 int