mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 17:27:18 +00:00
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
Block a user