From 8231a60d27d3cf4c673a3a7e4f17b25b1b6ba58e Mon Sep 17 00:00:00 2001 From: cancel Date: Sat, 1 Dec 2018 13:57:32 +0900 Subject: [PATCH] Cleanup --- base.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/base.h b/base.h index 42725e0..007d1b3 100644 --- a/base.h +++ b/base.h @@ -8,6 +8,7 @@ #include #include +// (gcc / clang) or msvc or other #if defined(__GNUC__) || defined(__clang__) #define ORCA_FORCE_INLINE __attribute__((always_inline)) inline #define ORCA_FORCE_STATIC_INLINE __attribute__((always_inline)) static inline @@ -22,7 +23,7 @@ #define ORCA_FORCE_NO_INLINE #endif - +// (gcc / clang) or other #if defined(__GNUC__) || defined(__clang__) #define ORCA_ASSUME_ALIGNED(_ptr, _alignment) \ __builtin_assume_aligned(_ptr, _alignment)