Don't define WIN32_LEAN_AND_MEAN in header-only mode

This commit is contained in:
Victor Zverovich 2017-05-06 09:13:32 -07:00
parent dcfd40a1b8
commit c56d345985

View File

@ -41,7 +41,7 @@
#endif
#if FMT_USE_WINDOWS_H
# ifndef WIN32_LEAN_AND_MEAN
# if !defined(FMT_HEADER_ONLY) && !defined(WIN32_LEAN_AND_MEAN)
# define WIN32_LEAN_AND_MEAN
# endif
# if defined(NOMINMAX) || defined(FMT_WIN_MINMAX)