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:
parent
7583a3a10a
commit
5e0881ddc4
@ -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).
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user