summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2009-12-31 20:14:30 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-01-01 12:16:18 +0000
commit33f44b93d26a1d0c2c15a2613b07510825bc1d54 (patch)
treebf01fe4caa8392f850bba77e080b1b01c72e5ff8 /include
parent04c7f483b438deffe7cfa1883d0c30616257e2d0 (diff)
downloadmesa-33f44b93d26a1d0c2c15a2613b07510825bc1d54.tar.gz
mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.
Diffstat (limited to 'include')
-rw-r--r--include/GL/gl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 5f8bc2b708c..c163171dc76 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -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