Don't define WIN32_LEAN_AND_MEAN in header-only mode

(cherry picked from commit c56d345985)
This commit is contained in:
Victor Zverovich
2017-06-08 12:08:50 +02:00
committed by Jonathan Müller
parent e6df023916
commit 4fca31c497
+1 -1
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)