summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Schultz <kschultz@freedesktop.org>2002-10-17 21:03:22 +0000
committerKarl Schultz <kschultz@freedesktop.org>2002-10-17 21:03:22 +0000
commit6afdc0bec2e75374875578375772aa7776774851 (patch)
tree88378f57ce5d6e5c554388fe1d8610769c3ad8d6
parent3e2fa3fd5cafdc641138844276c4260e028684ac (diff)
Put back the include of windows.h so we are back to version 17 of the file.
-rw-r--r--include/GL/glext.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h
index f88d7e79b3..245f100c70 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 <windows.h>
+#endif
+
#ifndef APIENTRY
#define APIENTRY
#endif