From: ShadowNinja Date: Sat, 3 Oct 2015 17:19:58 +0000 (-0400) Subject: Fix MinGW 32-bit build X-Git-Tag: 0.4.14~661 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=20405edb06f44308aae760dc2f4dad5c61e0d30f;p=oweals%2Fminetest.git Fix MinGW 32-bit build --- 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 #define MAX_SEMAPHORE_COUNT LONG_MAX - 1 #else #include