Surround WIN32_LEAN_AND_MEAN with ifndef
Otherwise it redefines macro definition in SDL_opengl.h.
This commit is contained in:
parent
3a68ba2b26
commit
cb82a60341
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue