fix build error on windows

with certain #include permutations the lack of this define would
break the build on windows as windows.h pollutes the namespace with min
and max macros that conflict with std::min and std::max.
develop
Casey Link 2014-12-04 14:32:00 +01:00
parent 346f397bca
commit 7072252902
1 changed files with 1 additions and 0 deletions

@ -69,6 +69,7 @@ SOFTWARE.
#ifdef _WIN32
#include <direct.h>
#define NOMINMAX
#include <windows.h>
#include <io.h>
#include <sys/locking.h>