diff options
author | ShizZy <shizzy@6bit.net> | 2013-10-02 01:05:33 +0200 |
---|---|---|
committer | ShizZy <shizzy@6bit.net> | 2013-10-02 01:05:33 +0200 |
commit | eab69534c6fe9075374952a9e51d08516640b504 (patch) | |
tree | d2ca25f71135d18f56ad3d3ac608be8c7c02ca16 /src | |
parent | upgraded proj files to vs 2013 (diff) | |
download | yuzu-eab69534c6fe9075374952a9e51d08516640b504.tar yuzu-eab69534c6fe9075374952a9e51d08516640b504.tar.gz yuzu-eab69534c6fe9075374952a9e51d08516640b504.tar.bz2 yuzu-eab69534c6fe9075374952a9e51d08516640b504.tar.lz yuzu-eab69534c6fe9075374952a9e51d08516640b504.tar.xz yuzu-eab69534c6fe9075374952a9e51d08516640b504.tar.zst yuzu-eab69534c6fe9075374952a9e51d08516640b504.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/src/common.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/common/src/common.h b/src/common/src/common.h index 0e5bf1cd3..0f2c34727 100644 --- a/src/common/src/common.h +++ b/src/common/src/common.h @@ -71,12 +71,12 @@ private: #define CHECK_HEAP_INTEGRITY() // Alignment - #define GC_ALIGNED16(x) __declspec(align(16)) x - #define GC_ALIGNED32(x) __declspec(align(32)) x - #define GC_ALIGNED64(x) __declspec(align(64)) x - #define GC_ALIGNED128(x) __declspec(align(128)) x - #define GC_ALIGNED16_DECL(x) __declspec(align(16)) x - #define GC_ALIGNED64_DECL(x) __declspec(align(64)) x + #define MEMORY_ALIGNED16(x) __declspec(align(16)) x + #define MEMORY_ALIGNED32(x) __declspec(align(32)) x + #define MEMORY_ALIGNED64(x) __declspec(align(64)) x + #define MEMORY_ALIGNED128(x) __declspec(align(128)) x + #define MEMORY_ALIGNED16_DECL(x) __declspec(align(16)) x + #define MEMORY_ALIGNED64_DECL(x) __declspec(align(64)) x // Since they are always around on windows #define HAVE_WX 1 @@ -108,12 +108,12 @@ private: #define _M_IX86 1 #endif #define __forceinline inline __attribute__((always_inline)) -#define GC_ALIGNED16(x) __attribute__((aligned(16))) x -#define GC_ALIGNED32(x) __attribute__((aligned(32))) x -#define GC_ALIGNED64(x) __attribute__((aligned(64))) x -#define GC_ALIGNED128(x) __attribute__((aligned(128))) x -#define GC_ALIGNED16_DECL(x) __attribute__((aligned(16))) x -#define GC_ALIGNED64_DECL(x) __attribute__((aligned(64))) x +#define MEMORY_ALIGNED16(x) __attribute__((aligned(16))) x +#define MEMORY_ALIGNED32(x) __attribute__((aligned(32))) x +#define MEMORY_ALIGNED64(x) __attribute__((aligned(64))) x +#define MEMORY_ALIGNED128(x) __attribute__((aligned(128))) x +#define MEMORY_ALIGNED16_DECL(x) __attribute__((aligned(16))) x +#define MEMORY_ALIGNED64_DECL(x) __attribute__((aligned(64))) x #endif #ifdef _MSC_VER |