fix issue #189 spdlog redefines max as a preprocessor macro

This commit is contained in:
gabime 2016-03-30 18:46:25 +03:00
parent e5376c3c0f
commit cd90e3911e

View File

@ -12,6 +12,11 @@
#include <string>
#ifdef _WIN32
# ifndef NOMINMAX
#define NOMINMAX //prevent windows redefining min/max
#endif
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif