Mercurial > emacs
changeset 31832:17e9dd6e4ef3
(NO_RETURN): Define.as `__attribute__((__noreturn__))'
for GCC >= 2.5.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 21 Sep 2000 21:49:39 +0000 |
parents | 453d7c06eaa6 |
children | 12c10704f00c |
files | src/config.in |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/config.in Thu Sep 21 20:55:56 2000 +0000 +++ b/src/config.in Thu Sep 21 21:49:39 2000 +0000 @@ -547,3 +547,9 @@ /* Should we enable expensive run-time checking of data types? */ #undef ENABLE_CHECKING + +#if defined __GNUC__ && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR >= 5)) +#define NO_RETURN __attribute__ ((__noreturn__)) +#else +#define NO_RETURN /* nothing */ +#endif