diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/threading/semaphore.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/threading/semaphore.cpp b/src/threading/semaphore.cpp index 00332eaa0..77ceff509 100644 --- a/src/threading/semaphore.cpp +++ b/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> |