Don't define WIN32_LEAN_AND_MEAN in header-only mode

(cherry picked from commit c56d345985)
This commit is contained in:
Victor Zverovich
2017-05-06 09:13:32 -07:00
committed by Jonathan Müller
parent e6df023916
commit 4fca31c497

View File

@ -41,7 +41,7 @@
#endif #endif
#if FMT_USE_WINDOWS_H #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 # define WIN32_LEAN_AND_MEAN
# endif # endif
# if defined(NOMINMAX) || defined(FMT_WIN_MINMAX) # if defined(NOMINMAX) || defined(FMT_WIN_MINMAX)