summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-11 21:05:36 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-11 21:05:36 +0300
commit0f7466e2aa5444957a7b25e72c2835734c42522c (patch)
tree7463fea6d631ec76712db9fe0b2d33c39bd9bf0c
parent011d09f618d890deffaeb79401690895bfbfaa92 (diff)
downloadmanaplus-0f7466e2aa5444957a7b25e72c2835734c42522c.tar.gz
manaplus-0f7466e2aa5444957a7b25e72c2835734c42522c.tar.bz2
manaplus-0f7466e2aa5444957a7b25e72c2835734c42522c.tar.xz
manaplus-0f7466e2aa5444957a7b25e72c2835734c42522c.zip
Add always_inline attribute macro.
-rw-r--r--src/localconsts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localconsts.h b/src/localconsts.h
index 62c6bcfbe..5037aa595 100644
--- a/src/localconsts.h
+++ b/src/localconsts.h
@@ -104,9 +104,11 @@
#ifndef ENABLE_CILKPLUS
#define A_CONST __attribute__ ((const))
#define A_PURE __attribute__ ((pure))
+#define A_INLINE __attribute__ ((always_inline))
#else
#define A_CONST
#define A_PURE
+#define A_INLINE
#endif
#ifdef __INTEL_COMPILER