Commit 86014a26 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(NO_RETURN): Define.as `__attribute__((__noreturn__))'

for GCC >= 2.5.
parent 80d26f99
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment