diff options
author | Gerd Moellmann <[email protected]> | 2000-09-21 21:49:39 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2000-09-21 21:49:39 +0000 |
commit | 86014a26a91e730f11c25c63c424d389ad892413 (patch) | |
tree | 91361cc114205007f9f89f9d95994800f3871c0c /src/config.in | |
parent | 80d26f99bb1c9e765ac367c7d1baac8cfab82e7c (diff) |
(NO_RETURN): Define.as `__attribute__((__noreturn__))'
for GCC >= 2.5.
Diffstat (limited to 'src/config.in')
-rw-r--r-- | src/config.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.in b/src/config.in index 5f3f5930e3..60a077046f 100644 --- a/src/config.in +++ b/src/config.in @@ -547,3 +547,9 @@ extern char *getenv (); /* 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 |