Fix building under MSVC
authorBlockMen <nmuelll@web.de>
Tue, 14 Jan 2014 15:14:56 +0000 (16:14 +0100)
committerBlockMen <nmuelll@web.de>
Tue, 14 Jan 2014 15:14:56 +0000 (16:14 +0100)
src/jthread/jsemaphore.h

index b62add253d64cedb295a73eecd6ec979df07cc6f..bdce2e4aeb0d338f33950969108b7ef33cea0860 100644 (file)
@@ -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>