aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/compiler.h')
-rwxr-xr-xinclude/asterisk/compiler.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/include/asterisk/compiler.h b/include/asterisk/compiler.h
index 62564c91c..24f6907d1 100755
--- a/include/asterisk/compiler.h
+++ b/include/asterisk/compiler.h
@@ -25,12 +25,9 @@
#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 96)
#define __builtin_expect(exp, c) (exp)
-#endif
-
-#ifdef __GNUC__
-#define force_inline inline __attribute__((always_inline))
-#else
#define force_inline inline
+#else
+#define force_inline inline __attribute__((always_inline))
#endif
#endif /* _ASTERISK_COMPILER_H */