Fix potential double-definition of WIN32_LEAN_AND_MEAN macro

This commit is contained in:
Scott Ramsby
2018-11-09 16:08:07 -08:00
parent 38afecb48b
commit f4e1ff192f
3 changed files with 9 additions and 3 deletions

View File

@ -23,7 +23,9 @@
#include <boost/regex/regex_traits.hpp>
#include <boost/regex/pattern_except.hpp>
#define WIN32_LEAN_AND_MEAN
#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
#endif
#ifndef NOMINMAX
# define NOMINMAX
#endif