summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/asterisk/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asterisk/compiler.h b/include/asterisk/compiler.h
index b8df362e1..a36138d8a 100644
--- a/include/asterisk/compiler.h
+++ b/include/asterisk/compiler.h
@@ -26,11 +26,11 @@
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)
#define __builtin_expect(exp, c) (exp)
#define force_inline inline
+#define attribute_pure
#else
#define force_inline inline __attribute__((always_inline))
-#endif
-
#define attribute_pure __attribute__((pure))
+#endif
#define attribute_const __attribute__((const))