mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 12:14:26 +00:00
NOMINMAX not handled properly (#1855)
This commit is contained in:
parent
6cccdc24bc
commit
f8e00a084a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user