mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix build on Windows
This commit is contained in:
parent
5bd50a2d90
commit
28c50c16cd
3 changed files with 12 additions and 3 deletions
|
@ -30,6 +30,9 @@
|
|||
#define JMUTEX_H
|
||||
|
||||
#if (defined(WIN32) || defined(_WIN32_WCE))
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0500
|
||||
#endif
|
||||
#ifndef _WIN32_WCE
|
||||
#include <process.h>
|
||||
#endif // _WIN32_WCE
|
||||
|
@ -88,7 +91,7 @@ public:
|
|||
void signal() {
|
||||
SetEvent(hEvent);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
#else
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue