needs <signal.h> #ifndef _WIN32 in class member

This commit is contained in:
2016-06-05 13:06:27 -04:00
parent d554a18fa2
commit 41f325243b
1 changed files with 6 additions and 1 deletions

View File

@ -22,6 +22,11 @@
#include <sys/ucontext.h>
#endif
#ifndef _WIN32
#include <signal.h>
/* 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