Browse Source

Fix MinGW 32-bit build

ShadowNinja 8 years ago
parent
commit
20405edb06
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/threading/semaphore.cpp

+ 1 - 0
src/threading/semaphore.cpp

@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #define UNUSED(expr) do { (void)(expr); } while (0)
 
 #ifdef _WIN32
+	#include <climits>
 	#define MAX_SEMAPHORE_COUNT LONG_MAX - 1
 #else
 	#include <cerrno>