We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5bdfb6 commit 20405edCopy full SHA for 20405ed
src/threading/semaphore.cpp
@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
26
#define UNUSED(expr) do { (void)(expr); } while (0)
27
28
#ifdef _WIN32
29
+ #include <climits>
30
#define MAX_SEMAPHORE_COUNT LONG_MAX - 1
31
#else
32
#include <cerrno>
0 commit comments