mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Fix backwards #ifdef.
This commit is contained in:
parent
97c9cb5882
commit
6695b5acce
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue