summaryrefslogtreecommitdiff
path: root/src/jthread/jmutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/jthread/jmutex.h')
-rw-r--r--src/jthread/jmutex.h5
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