Commit c3f8200a authored by Gabi Melman's avatar Gabi Melman

Merge pull request #31 from rupertsteel/master

Fixed 2 macro redefinition warnings related to WIN32_LEAN_AND_MEAN.
parents 1d8ac6de 5d7947df
......@@ -39,7 +39,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <cstdarg>
#ifdef _WIN32
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# ifdef __MINGW32__
# include <cstring>
# endif
......
......@@ -29,8 +29,10 @@
#include<ctime>
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
# ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN
# endif
# include <Windows.h>
#endif
namespace spdlog
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment