From 996efc129c7db574627a3d0064b2d419b2f7ac2c Mon Sep 17 00:00:00 2001 From: "Paul \"Dettorer\" Hervot" Date: Sun, 29 Nov 2015 10:07:29 +0100 Subject: [PATCH] Memory_util: Check if EMU_ARCH_BITS is defined before checking its value --- src/common/memory_util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/memory_util.cpp b/src/common/memory_util.cpp index 675898133..e03826d21 100644 --- a/src/common/memory_util.cpp +++ b/src/common/memory_util.cpp @@ -70,7 +70,7 @@ void* AllocateExecutableMemory(size_t size) } #endif -#if EMU_ARCH_BITS == 64 +#if defined(EMU_ARCH_BITS) && EMU_ARCH_BITS == 64 if ((u64)ptr >= 0x80000000 && low == true) LOG_ERROR(Common_Memory, "Executable memory ended up above 2GB!"); #endif