projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5bdfb6
)
Fix MinGW 32-bit build
author
ShadowNinja
<shadowninja@minetest.net>
Sat, 3 Oct 2015 17:19:58 +0000
(13:19 -0400)
committer
ShadowNinja
<shadowninja@minetest.net>
Sat, 3 Oct 2015 17:20:43 +0000
(13:20 -0400)
src/threading/semaphore.cpp
patch
|
blob
|
history
diff --git
a/src/threading/semaphore.cpp
b/src/threading/semaphore.cpp
index 00332eaa03dc0f540578f86d51523a3296fdad94..77ceff509cb9c3172c8acab6c23891b0bf676798 100644
(file)
--- 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>