NOMINMAX not handled properly (#1855)

This commit is contained in:
Giovanni Cerretani 2020-09-03 18:45:47 +02:00 committed by GitHub
parent 6cccdc24bc
commit f8e00a084a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,14 +23,14 @@
#endif
#ifdef _WIN32
# if !defined(NOMINMAX) && !defined(WIN32_LEAN_AND_MEAN)
# ifdef FMT_BIG_WIN
# include <windows.h>
# else
# define NOMINMAX
# define WIN32_LEAN_AND_MEAN
# include <windows.h>
# undef WIN32_LEAN_AND_MEAN
# undef NOMINMAX
# else
# include <windows.h>
# endif
# include <io.h>
#endif