1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-29 11:02:01 +00:00

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

Fixes: debbugs:11750
This commit is contained in:
Eli Zaretskii 2012-06-24 21:31:31 +03:00
parent 7583a3a10a
commit 5e0881ddc4
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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).

View File

@ -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)