Skip to content
Snippets Groups Projects
Commit 4e9c50b5 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Fix Windows build: #include eventwrap.h, not xpevent.h

parent 3e8cfb7a
No related branches found
No related tags found
No related merge requests found
Pipeline #5034 failed
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
#include <threadwrap.h> #include <threadwrap.h>
#include "xpprintf.h" #include "xpprintf.h"
#include "xpevent.h" #include "eventwrap.h"
#include "ssl.h" #include "ssl.h"
//#include "js_socket.h" // TODO... move this stuff in here? //#include "js_socket.h" // TODO... move this stuff in here?
......
...@@ -38,14 +38,10 @@ ...@@ -38,14 +38,10 @@
#ifndef _XPEVENT_H_ #ifndef _XPEVENT_H_
#define _XPEVENT_H_ #define _XPEVENT_H_
#ifdef _WIN32
#include "gen_defs.h" #include "gen_defs.h"
typedef HANDLE xpevent_t; typedef HANDLE xpevent_t;
#define WaitForEvent(event, ms) WaitForSingleObject(event, ms) #define WaitForEvent(event, ms) WaitForSingleObject(event, ms)
#else
#include <pthread.h> #include <pthread.h>
#include "gen_defs.h" #include "gen_defs.h"
...@@ -89,5 +85,3 @@ enum { ...@@ -89,5 +85,3 @@ enum {
}; };
#endif #endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment