Unverified Commit f8e00a08 authored by Giovanni Cerretani's avatar Giovanni Cerretani Committed by GitHub

NOMINMAX not handled properly (#1855)

parent 6cccdc24
...@@ -23,14 +23,14 @@ ...@@ -23,14 +23,14 @@
#endif #endif
#ifdef _WIN32 #ifdef _WIN32
# if !defined(NOMINMAX) && !defined(WIN32_LEAN_AND_MEAN) # ifdef FMT_BIG_WIN
# include <windows.h>
# else
# define NOMINMAX # define NOMINMAX
# define WIN32_LEAN_AND_MEAN # define WIN32_LEAN_AND_MEAN
# include <windows.h> # include <windows.h>
# undef WIN32_LEAN_AND_MEAN # undef WIN32_LEAN_AND_MEAN
# undef NOMINMAX # undef NOMINMAX
# else
# include <windows.h>
# endif # endif
# include <io.h> # include <io.h>
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment