mirror of
https://github.com/minetest/minetest.git
synced 2024-11-23 16:13:46 +01:00
Fix MinGW 32-bit build
This commit is contained in:
parent
a5bdfb6b3c
commit
20405edb06
@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||||||
#define UNUSED(expr) do { (void)(expr); } while (0)
|
#define UNUSED(expr) do { (void)(expr); } while (0)
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#include <climits>
|
||||||
#define MAX_SEMAPHORE_COUNT LONG_MAX - 1
|
#define MAX_SEMAPHORE_COUNT LONG_MAX - 1
|
||||||
#else
|
#else
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
Loading…
Reference in New Issue
Block a user