summaryrefslogtreecommitdiff
path: root/Platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'Platform.h')
-rw-r--r--Platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Platform.h b/Platform.h
index f15580e..8bb0d58 100644
--- a/Platform.h
+++ b/Platform.h
@@ -11,6 +11,7 @@ void SetAffinity ( int cpu );
#if defined(_MSC_VER)
#define FORCE_INLINE __forceinline
+#define NEVER_INLINE __declspec(noinline)
#include <stdlib.h>
#include <math.h> // Has to be included before intrin.h or VC complains about 'ceil'
@@ -40,6 +41,7 @@ void SetAffinity ( int cpu );
#include <stdint.h>
#define FORCE_INLINE __attribute__((always_inline))
+#define NEVER_INLINE __attribute__((noinline))
inline uint32_t rotl32 ( uint32_t x, int8_t r )
{