fix issue #189 spdlog redefines max as a preprocessor macro

pull/192/head
gabime 10 years ago
parent e5376c3c0f
commit cd90e3911e

@ -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

Loading…
Cancel
Save