From 41f325243b12fe886bb1cf0d7df5c105162577f1 Mon Sep 17 00:00:00 2001 From: Date: Sun, 5 Jun 2016 13:06:27 -0400 Subject: [PATCH] needs #ifndef _WIN32 in class member --- Source/Project64-core/N64System/Mips/MemoryVirtualMem.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h b/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h index 2f648770b..e52949876 100644 --- a/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h +++ b/Source/Project64-core/N64System/Mips/MemoryVirtualMem.h @@ -22,6 +22,11 @@ #include #endif +#ifndef _WIN32 +#include +/* siginfo_t */ +#endif + /* * 64-bit Windows exception recovery facilities will expect to interact with * the 64-bit registers of the Intel architecture (e.g., rax instead of eax). @@ -101,7 +106,7 @@ public: int32_t MemoryFilter(uint32_t dwExptCode, void * lpExceptionPointer); void UpdateFieldSerration(uint32_t interlaced); #ifndef _WIN32 - static bool SetupSegvHandler (void); + static bool SetupSegvHandler(void); static void segv_handler(int signal, siginfo_t *siginfo, void *sigcontext); #endif