commit 0bcc7170871b2966ace33603eb34f9268a8eb53c
Author: Fabian Greffrath <fabian@greffrath.com>
AuthorDate: Mon May 8 09:16:02 2017 +0200
Commit: Fabian Greffrath <fabian@greffrath.com>
CommitDate: Mon May 8 09:16:02 2017 +0200
Win32: do not redefine WIN32_LEAN_AND_MEAN
It may already be defined in SDL2/SDL_opengl.h.
---
src/i_video.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/i_video.c b/src/i_video.c
index bec15984..4a7a2df0 100644
--- a/src/i_video.c
+++ b/src/i_video.c
@@ -21,7 +21,9 @@
#include "SDL_opengl.h"
#ifdef _WIN32
+#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
#endif