From 0f7466e2aa5444957a7b25e72c2835734c42522c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Feb 2016 21:05:36 +0300 Subject: Add always_inline attribute macro. --- src/localconsts.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/localconsts.h') 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 -- cgit v1.2.3-70-g09d2