Memory_util: Check if EMU_ARCH_BITS is defined before checking its value

This commit is contained in:
Paul "Dettorer" Hervot 2015-11-29 10:07:29 +01:00 committed by Paul Dettorer Hervot
parent 362eddc283
commit 996efc129c

View file

@ -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