mirror of https://github.com/janet-lang/janet
Windows header issues.
This commit is contained in:
parent
c786a4cbeb
commit
01b7891347
|
@ -320,7 +320,10 @@ typedef struct {
|
|||
/* Some extra includes if EV is enabled */
|
||||
#ifdef JANET_EV
|
||||
#ifdef JANET_WINDOWS
|
||||
#include <synchapi.h>
|
||||
#ifdef JANET_NET
|
||||
#include <winsock2.h>
|
||||
#endif
|
||||
#include <windows.h>
|
||||
typedef CRTICAL_SECTION JanetOSMutex;
|
||||
#else
|
||||
#include <pthread.h>
|
||||
|
|
Loading…
Reference in New Issue