Mesa (master): mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Fri Jan 1 12:20:07 UTC 2010
Module: Mesa
Branch: master
Commit: 33f44b93d26a1d0c2c15a2613b07510825bc1d54
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=33f44b93d26a1d0c2c15a2613b07510825bc1d54
Author: José Fonseca <jfonseca at vmware.com>
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
More information about the mesa-commit
mailing list