diff options
Diffstat (limited to '')
| -rw-r--r-- | src/common/common_funcs.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 4f9e514c9..91b74c6bc 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h | |||
| @@ -34,13 +34,6 @@ | |||
| 34 | #define MEMORY_ALIGNED64(x) __declspec(align(64)) x | 34 | #define MEMORY_ALIGNED64(x) __declspec(align(64)) x |
| 35 | #define MEMORY_ALIGNED128(x) __declspec(align(128)) x | 35 | #define MEMORY_ALIGNED128(x) __declspec(align(128)) x |
| 36 | #else | 36 | #else |
| 37 | // Windows compatibility | ||
| 38 | #ifdef _LP64 | ||
| 39 | #define _M_X64 1 | ||
| 40 | #else | ||
| 41 | #define _M_IX86 1 | ||
| 42 | #endif | ||
| 43 | |||
| 44 | #define __forceinline inline __attribute__((always_inline)) | 37 | #define __forceinline inline __attribute__((always_inline)) |
| 45 | #define MEMORY_ALIGNED16(x) __attribute__((aligned(16))) x | 38 | #define MEMORY_ALIGNED16(x) __attribute__((aligned(16))) x |
| 46 | #define MEMORY_ALIGNED32(x) __attribute__((aligned(32))) x | 39 | #define MEMORY_ALIGNED32(x) __attribute__((aligned(32))) x |