diff --git a/Source/Core/Core/PowerPC/Jit64/Jit.cpp b/Source/Core/Core/PowerPC/Jit64/Jit.cpp index b774881bb8..30a5f7bb01 100644 --- a/Source/Core/Core/PowerPC/Jit64/Jit.cpp +++ b/Source/Core/Core/PowerPC/Jit64/Jit.cpp @@ -129,7 +129,7 @@ enum void Jit64::AllocStack() { -#if defined(_WIN32) +#ifndef _WIN32 m_stack = (u8*)AllocateMemoryPages(STACK_SIZE); ReadProtectMemory(m_stack, GUARD_SIZE); ReadProtectMemory(m_stack + GUARD_OFFSET, GUARD_SIZE); @@ -138,7 +138,7 @@ void Jit64::AllocStack() void Jit64::FreeStack() { -#if defined(_WIN32) +#ifndef _WIN32 if (m_stack) { FreeMemoryPages(m_stack, STACK_SIZE);