From cb82a6034174d58341b2ba2a2228d82fb7daf984 Mon Sep 17 00:00:00 2001 From: Patryk Obara Date: Tue, 24 Dec 2019 06:56:25 +0100 Subject: [PATCH] Surround WIN32_LEAN_AND_MEAN with ifndef Otherwise it redefines macro definition in SDL_opengl.h. --- include/cross.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/cross.h b/include/cross.h index 5699cd40..6692d691 100644 --- a/include/cross.h +++ b/include/cross.h @@ -76,10 +76,10 @@ public: static bool IsPathAbsolute(std::string const& in); }; - #if defined (WIN32) - -#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from +#ifndef WIN32_LEAN_AND_MEAN +#define WIN32_LEAN_AND_MEAN +#endif #include typedef struct dir_struct {