diff options
author | kwolekr <mirrorisim@gmail.com> | 2013-02-23 12:30:13 -0500 |
---|---|---|
committer | kwolekr <mirrorisim@gmail.com> | 2013-02-25 23:10:54 -0500 |
commit | 28c50c16cdeda7de39ed15c17094f3de01287d4c (patch) | |
tree | 687d15ba3504f9489df1a003652dbd45e821ff73 /src/jthread | |
parent | 5bd50a2d9060f265d4c8d2fff062cac106ccab7c (diff) | |
download | minetest-28c50c16cdeda7de39ed15c17094f3de01287d4c.tar.gz minetest-28c50c16cdeda7de39ed15c17094f3de01287d4c.tar.bz2 minetest-28c50c16cdeda7de39ed15c17094f3de01287d4c.zip |
Fix build on Windows
Diffstat (limited to 'src/jthread')
-rw-r--r-- | src/jthread/jmutex.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/jthread/jmutex.h b/src/jthread/jmutex.h index 6675162a5..e528aeb4a 100644 --- a/src/jthread/jmutex.h +++ b/src/jthread/jmutex.h @@ -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 |