diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-11 21:05:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-11 21:05:36 +0300 |
commit | 0f7466e2aa5444957a7b25e72c2835734c42522c (patch) | |
tree | 7463fea6d631ec76712db9fe0b2d33c39bd9bf0c /src/localconsts.h | |
parent | 011d09f618d890deffaeb79401690895bfbfaa92 (diff) | |
download | plus-0f7466e2aa5444957a7b25e72c2835734c42522c.tar.gz plus-0f7466e2aa5444957a7b25e72c2835734c42522c.tar.bz2 plus-0f7466e2aa5444957a7b25e72c2835734c42522c.tar.xz plus-0f7466e2aa5444957a7b25e72c2835734c42522c.zip |
Add always_inline attribute macro.
Diffstat (limited to 'src/localconsts.h')
-rw-r--r-- | src/localconsts.h | 2 |
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 |