summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sys2.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h
index ecb348105..8e80aa356 100644
--- a/src/sys2.h
+++ b/src/sys2.h
@@ -357,3 +357,9 @@ char *base_name PARAMS ((char const *));
#else
# define IF_LINT(Code) /* empty */
#endif
+
+#if __GNUC__
+# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
+#else
+# define ATTRIBUTE_NORETURN /* empty */
+#endif