Module: Mesa
Branch: master
Commit: 33f44b93d26a1d0c2c15a2613b07510825bc1d54
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=33f44b93d26a1d0c2c15a2613b07510825bc1d54

Author: José Fonseca <[email protected]>
Date:   Thu Dec 31 20:14:30 2009 +0000

mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.

---

 include/GL/gl.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/GL/gl.h b/include/GL/gl.h
index 5f8bc2b..c163171 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
 

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to