mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 31 Dec 2009 20:14:30 +0000 (20:14 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 1 Jan 2010 12:16:18 +0000 (12:16 +0000)
include/GL/gl.h

index 5f8bc2b708c4a08186c569925c311c541ee28bc7..c163171dc763bd3674081cba0f8d144a895c604c 100644 (file)
@@ -85,7 +85,9 @@
  * glut.h or gl.h.
  */
 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
+#ifndef WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN 1
+#endif
 #include <windows.h>
 #endif