1
0
Fork 0

Surround WIN32_LEAN_AND_MEAN with ifndef

Otherwise it redefines macro definition in SDL_opengl.h.
This commit is contained in:
Patryk Obara 2019-12-24 06:56:25 +01:00 committed by Patryk Obara
parent 3a68ba2b26
commit cb82a60341

View file

@ -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 <windows.h>
typedef struct dir_struct {