aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlockMen <nmuelll@web.de>2014-01-14 16:14:56 +0100
committerBlockMen <nmuelll@web.de>2014-01-14 16:14:56 +0100
commit84bbe1ec6e5f76ab8b9e11ebf247f82dcad17330 (patch)
tree37a82f65e7803c78f56bc981e109edf02dbd9eac
parent5434d87da2a6ab891448ed4e61e8463c688d1f1c (diff)
downloadminetest-84bbe1ec6e5f76ab8b9e11ebf247f82dcad17330.tar.gz
minetest-84bbe1ec6e5f76ab8b9e11ebf247f82dcad17330.tar.bz2
minetest-84bbe1ec6e5f76ab8b9e11ebf247f82dcad17330.zip
Fix building under MSVC
-rw-r--r--src/jthread/jsemaphore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jthread/jsemaphore.h b/src/jthread/jsemaphore.h
index b62add253..bdce2e4ae 100644
--- a/src/jthread/jsemaphore.h
+++ b/src/jthread/jsemaphore.h
@@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#if defined(WIN32)
#include <windows.h>
+#include <assert.h>
#define MAX_SEMAPHORE_COUNT 1024
#else
#include <pthread.h>