diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-03-29 21:32:53 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-03-29 21:32:53 +0200 |
commit | 19a22c41661c3b032c9cdcfd6913373526c025c8 (patch) | |
tree | c4a4748899ce3fd78949ad39e6e5a1261bea6569 /pc | |
parent | b85b04e80466b60892bb1533e33af267ecb1c2a6 (diff) | |
download | egawk-19a22c41661c3b032c9cdcfd6913373526c025c8.tar.gz egawk-19a22c41661c3b032c9cdcfd6913373526c025c8.tar.bz2 egawk-19a22c41661c3b032c9cdcfd6913373526c025c8.zip |
Sync dfa with grep. Update configure machinery.
Diffstat (limited to 'pc')
-rw-r--r-- | pc/ChangeLog | 4 | ||||
-rw-r--r-- | pc/config.h | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/pc/ChangeLog b/pc/ChangeLog index 837c5b5a..41cc25bd 100644 --- a/pc/ChangeLog +++ b/pc/ChangeLog @@ -1,3 +1,7 @@ +2012-03-29 Arnold D. Robbins <arnold@skeeve.com> + + * config.h: Add definition for _Noreturn. + 2012-03-28 Arnold D. Robbins <arnold@skeeve.com> * 4.0.1: Release tar ball made. diff --git a/pc/config.h b/pc/config.h index 849b2169..6b50eefa 100644 --- a/pc/config.h +++ b/pc/config.h @@ -507,6 +507,18 @@ /* Define to 1 if on MINIX. */ #undef _MINIX +/* The _Noreturn keyword of C11. */ +#ifndef _Noreturn +# if (3 <= __GNUC__ || (__GNUC__ == 2 && 8 <= __GNUC_MINOR__) \ + || 0x5110 <= __SUNPRO_C) +# define _Noreturn __attribute__ ((__noreturn__)) +# elif defined _MSC_VER && 1200 <= _MSC_VER +# define _Noreturn __declspec (noreturn) +# else +# define _Noreturn +# endif +#endif + /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE |