Skip to content

Commit

Permalink
NOMINMAX not handled properly (#1855)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcerretani authored Sep 3, 2020
1 parent 6cccdc2 commit f8e00a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/fmt/format-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8e00a0

Please sign in to comment.