Don't include the world with WIN32_LEAN_AND_MEAN (#503)

This commit is contained in:
Victor Zverovich committed 2018-01-28 20:26:25 -08:00
1 parent a5185ec8d4
commit c753a2af39
2 files changed
+6

No files matched your search

+3
View File
@@ -22,6 +22,9 @@
#endif
#if FMT_USE_WINDOWS_H
# if !defined(FMT_HEADER_ONLY) && !defined(WIN32_LEAN_AND_MEAN)
# define WIN32_LEAN_AND_MEAN
# endif
# if defined(NOMINMAX) || defined(FMT_WIN_MINMAX)
# include <windows.h>
# else
+3
View File
@@ -19,6 +19,9 @@
#ifndef _WIN32
# include <unistd.h>
#else
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# include <windows.h>
# include <io.h>