diff src/gl-render.h @ 10346:65d5776379c3

Reduce the amount of stuff included by windows.h and avoid min/max being #define-d
author Michael Goffioul <michael.goffioul@gmail.com>
date Sun, 21 Feb 2010 18:04:59 +0000
parents f3b65e1ae355
children 2be9e22796d2
line wrap: on
line diff
--- a/src/gl-render.h	Sun Feb 21 17:46:30 2010 +0000
+++ b/src/gl-render.h	Sun Feb 21 18:04:59 2010 +0000
@@ -24,11 +24,8 @@
 #define gl_render_h 1
 
 #ifdef HAVE_WINDOWS_H
+#define WIN32_LEAN_AND_MEAN
 #include <windows.h>
-#ifdef max
-# undef min
-# undef max
-#endif
 #endif
 
 #ifdef HAVE_GL_GL_H