From: Karl Schultz Date: Thu, 17 Oct 2002 21:03:22 +0000 (+0000) Subject: Put back the include of windows.h so we are back to version 17 of the file. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6afdc0bec2e75374875578375772aa7776774851;p=mesa.git Put back the include of windows.h so we are back to version 17 of the file. --- diff --git a/include/GL/glext.h b/include/GL/glext.h index f88d7e79b3a..245f100c706 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -34,6 +34,11 @@ extern "C" { ** version 1.2.1 Specification. */ +#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) +#define WIN32_LEAN_AND_MEAN 1 +#include +#endif + #ifndef APIENTRY #define APIENTRY #endif