Commit acc311da authored by Jason Rumney's avatar Jason Rumney

Add definition of NO_RETURN

parent b4da8dfa
2000-09-24 Jason Rumney <jasonr@gnu.org>
* config.nt (NO_RETURN): Define it.
2000-09-17 Andrew Innes <andrewi@gnu.org>
* gmake.defs: Revert to Unix line endings.
......@@ -642,5 +646,5 @@
* _emacs: New file.
;; Local Variables:
;; coding: iso-2022-7bit-unix
;; coding: iso-2022-7bit
;; End:
......@@ -440,3 +440,11 @@ extern char *getenv ();
#include "string.h"
#endif
#endif
#ifndef NO_RETURN
#if defined __GNUC__ && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR >= 5))
#define NO_RETURN __attribute__ ((__noreturn__))
#else
#define NO_RETURN /* nothing */
#endif
#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