summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/cdefs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/sys/cdefs.h b/sys/sys/cdefs.h
index b9bc815..7582d89 100644
--- a/sys/sys/cdefs.h
+++ b/sys/sys/cdefs.h
@@ -143,6 +143,12 @@
#endif
#endif
+#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 1) || __GNUC__ >= 4
+#define __always_inline __attribute__((__always_inline__))
+#else
+#define __always_inline
+#endif
+
#if (__GNUC__ == 3 && __GNUC_MINOR__ >= 3) || __GNUC__ >= 4
#define __nonnull(x) __attribute__((__nonnull__(x)))
#else
OpenPOWER on IntegriCloud