diff options
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/MemoryUtil.cpp | 2 | ||||
| -rw-r--r-- | Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/Common/MemoryUtil.cpp b/Source/Core/Common/MemoryUtil.cpp index 0c079a15b3..2b1ed11d18 100644 --- a/Source/Core/Common/MemoryUtil.cpp +++ b/Source/Core/Common/MemoryUtil.cpp @@ -33,7 +33,7 @@ namespace Common { -#if !defined(_WIN32) +#if !defined(_WIN32) && defined(_M_X86_64) && !defined(MAP_32BIT) #include <unistd.h> static uintptr_t RoundPage(uintptr_t addr) { diff --git a/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp b/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp index b1d4abc1b2..21cc08def0 100644 --- a/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp +++ b/Source/Core/Core/HW/BBA-TAP/TAP_Unix.cpp @@ -122,6 +122,7 @@ bool CEXIETHERNET::SendFrame(const u8* frame, u32 size) #endif } +#ifdef __linux__ static void ReadThreadHandler(CEXIETHERNET* self) { while (!self->readThreadShutdown.IsSet()) @@ -150,6 +151,7 @@ static void ReadThreadHandler(CEXIETHERNET* self) } } } +#endif bool CEXIETHERNET::RecvInit() { |
