Skip to content

Commit

Permalink
Don't define WIN32_LEAN_AND_MEAN in header-only mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut authored and Bjoern Thiel committed May 11, 2017
1 parent 104bac8 commit 0a87a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fmt/format.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0a87a95

Please sign in to comment.