Commit 5e0881dd authored by Eli Zaretskii's avatar Eli Zaretskii

nt/config.nt (_Noreturn): Don't reference __SUNPRO_C.

Fixes: debbugs:11750
parent 7583a3a1
2012-06-24 Eli Zaretskii <eliz@gnu.org>
* config.nt (_Noreturn): Don't reference __SUNPRO_C.
2012-06-24 Paul Eggert <eggert@cs.ucla.edu>
Switch from NO_RETURN to C11's _Noreturn (Bug#11750).
......
......@@ -498,8 +498,7 @@ extern char *getenv ();
/* The _Noreturn keyword of C11. */
#if ! (defined _Noreturn \
|| (defined __STDC_VERSION__ && 201112 <= __STDC_VERSION__))
# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \
|| 0x5110 <= __SUNPRO_C)
# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__))
# define _Noreturn __attribute__ ((__noreturn__))
# elif defined _MSC_VER && 1200 <= _MSC_VER
# define _Noreturn __declspec (noreturn)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment