Don't re-define WINVER in core/config.h if it's already defined.

This commit is contained in:
casey langen 2017-01-07 13:06:27 -08:00
parent 1ff0ac00f3
commit 138766e8ff

View File

@ -42,10 +42,12 @@
#include <boost/filesystem.hpp> #include <boost/filesystem.hpp>
#ifdef WIN32 #ifdef WIN32
#define WIN32_LEAN_AND_MEAN #ifndef WINVER
#define WINVER 0x0502 #define WIN32_LEAN_AND_MEAN
#define _WIN32_WINNT 0x0502 #define WINVER 0x0502
#define NOMINMAX #define _WIN32_WINNT 0x0502
#define NOMINMAX
#endif
typedef __int64 int64; typedef __int64 int64;
typedef unsigned __int64 uint64; typedef unsigned __int64 uint64;