summaryrefslogtreecommitdiff
path: root/src/common/common_funcs.h
diff options
context:
space:
mode:
authorGravatar Yuri Kunde Schlesner2015-05-07 15:06:27 -0700
committerGravatar Yuri Kunde Schlesner2015-05-07 15:06:27 -0700
commit52654842a0fa9b4e17d5f3ed283d6a16f1f8ca2b (patch)
tree352d4e078789f31408c8f8658ba84cc03c08cbcf /src/common/common_funcs.h
parentMerge pull request #721 from yuriks/more-cleanups (diff)
parentCommon: Add proper macros to test for architecture pointer size (diff)
downloadyuzu-52654842a0fa9b4e17d5f3ed283d6a16f1f8ca2b.tar.gz
yuzu-52654842a0fa9b4e17d5f3ed283d6a16f1f8ca2b.tar.xz
yuzu-52654842a0fa9b4e17d5f3ed283d6a16f1f8ca2b.zip
Merge pull request #724 from citra-emu/arch-misdetection
Common: Add proper macros to test for architecture pointer size
Diffstat (limited to 'src/common/common_funcs.h')
-rw-r--r--src/common/common_funcs.h7
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