Skip to content

Commit

Permalink
Fix MinGW 32-bit build
Browse files Browse the repository at this point in the history
  • Loading branch information
ShadowNinja committed Oct 3, 2015
1 parent a5bdfb6 commit 20405ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/threading/semaphore.cpp
Expand Up @@ -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>
Expand Down

0 comments on commit 20405ed

Please sign in to comment.