]> git.eshelyaron.com Git - emacs.git/commitdiff
Add definition of NO_RETURN
authorJason Rumney <jasonr@gnu.org>
Sun, 24 Sep 2000 11:12:04 +0000 (11:12 +0000)
committerJason Rumney <jasonr@gnu.org>
Sun, 24 Sep 2000 11:12:04 +0000 (11:12 +0000)
nt/ChangeLog
nt/config.nt

index 5c3e17d9d1d83d2db2fdcf7e73ee70174880c3bc..f8b62243dc5dd475e2a0e8cce4676682b3e6d2c8 100644 (file)
@@ -1,3 +1,7 @@
+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.
        * _emacs: New file.
 
 ;; Local Variables:
-;; coding: iso-2022-7bit-unix
+;; coding: iso-2022-7bit
 ;; End:
index 32c56e4cd96104c622d3982ad3a041490a1167af..095fb34a9925af5d32b68ebcb0298e00e39780bf 100644 (file)
@@ -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