mojoshader_opengl.c
branchtrunk
changeset 254 13184ff204b9
parent 253 6717d8bffa79
child 255 796394130035
--- a/mojoshader_opengl.c	Tue Apr 29 20:46:43 2008 -0400
+++ b/mojoshader_opengl.c	Wed Apr 30 01:22:45 2008 -0400
@@ -13,6 +13,11 @@
 #include <stdarg.h>
 #include <assert.h>
 
+#ifdef _MSC_VER
+#define WIN32_LEAN_AND_MEAN 1
+#include <windows.h>  // GL headers need this for WINGDIAPI definition.
+#endif
+
 #include "mojoshader.h"
 #define GL_GLEXT_LEGACY 1
 #include "GL/gl.h"