From: José Fonseca Date: Thu, 31 Dec 2009 20:14:30 +0000 (+0000) Subject: mesa: Avoid WIN32_LEAN_AND_MEAN re-definition. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=33f44b93d26a1d0c2c15a2613b07510825bc1d54;p=mesa.git mesa: Avoid WIN32_LEAN_AND_MEAN re-definition. --- 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 #endif