summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/cdefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index 9ce51a8..06ea689 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -122,7 +122,7 @@
#define __pure2 __attribute__((__const__))
#define __unused
#endif
-#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7
+#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ == 3
#define __dead2 __attribute__((__noreturn__))
#define __pure2 __attribute__((__const__))
#define __unused __attribute__((__unused__))
OpenPOWER on IntegriCloud