changeset 31860:a51cc6093b82

Add definition of NO_RETURN
author Jason Rumney <jasonr@gnu.org>
date Sun, 24 Sep 2000 11:09:19 +0000
parents 9bb38b47a241
children f78c38ef1078
files nt/config.nt
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/nt/config.nt	Sat Sep 23 18:24:51 2000 +0000
+++ b/nt/config.nt	Sun Sep 24 11:09:19 2000 +0000
@@ -440,3 +440,11 @@
 #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