summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-08-23 17:35:21 +0100
committerColin Watson <cjwatson@debian.org>2009-08-23 17:35:21 +0100
commita3b1a75214b71365489ee28bbee288ac3039753a (patch)
treed9a492f9dbf61b021361001eb201ecdd66b91e11 /include
parent5b692bd9903145f9111110bd782d676156f1707a (diff)
add command sequence support
Diffstat (limited to 'include')
-rw-r--r--include/manconfig.h.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/manconfig.h.in b/include/manconfig.h.in
index a7c7a87c..6407ca41 100644
--- a/include/manconfig.h.in
+++ b/include/manconfig.h.in
@@ -255,6 +255,13 @@
# define ATTRIBUTE_UNUSED
#endif
+/* Does this compiler support marking functions as non-returning? */
+#if GNUC_PREREQ(2,5)
+# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
+#else
+# define ATTRIBUTE_NORETURN
+#endif
+
/* Does this compiler support malloc return checking? */
#if GNUC_PREREQ(2,96)
# define ATTRIBUTE_MALLOC __attribute__ ((__malloc__))