fix issue #189 spdlog redefines max as a preprocessor macro
This commit is contained in:
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…
Reference in New Issue
Block a user