summaryrefslogtreecommitdiff
path: root/Source/Core/Common/MemoryUtil.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2014-03-05 09:26:02 +1300
committerMatthew Parlane <parlane@gmail.com>2014-03-05 09:26:02 +1300
commit09212d49121d57f2fc670af64c71f4ff731c14ba (patch)
tree3941a217046e39148768a1c7eb1aff0289251d4b /Source/Core/Common/MemoryUtil.cpp
parentd1ccd964cd7c552068c1ed649235eac83e3b1195 (diff)
parent4f02132f9323a147c68b7dc1a79a62be33c1f170 (diff)
Merge pull request #120 from Sonicadvance1/Arch-clean
Make our architecture defines less stupid.
Diffstat (limited to 'Source/Core/Common/MemoryUtil.cpp')
-rw-r--r--Source/Core/Common/MemoryUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp
index cfdc3ad730..441ba2f10b 100644
--- a/Source/Core/Common/MemoryUtil.cpp
+++ b/Source/Core/Common/MemoryUtil.cpp
@@ -75,7 +75,7 @@ void* AllocateExecutableMemory(size_t size, bool low)
}
#endif
-#if defined(_M_X64)
+#if _ARCH_64
if ((u64)ptr >= 0x80000000 && low == true)
PanicAlert("Executable memory ended up above 2GB!");
#endif