aboutsummaryrefslogtreecommitdiffstats
path: root/make/glu-impl-win32.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/glu-impl-win32.cfg')
-rw-r--r--make/glu-impl-win32.cfg19
1 files changed, 19 insertions, 0 deletions
diff --git a/make/glu-impl-win32.cfg b/make/glu-impl-win32.cfg
new file mode 100644
index 000000000..cc6b13a72
--- /dev/null
+++ b/make/glu-impl-win32.cfg
@@ -0,0 +1,19 @@
+# This .cfg file is used to generate the GLU implementation on Windows.
+
+Include glu-impl-common.cfg
+
+CustomCCode #define WIN32_LEAN_AND_MEAN
+CustomCCode #include <windows.h>
+CustomCCode #undef WIN32_LEAN_AND_MEAN
+CustomCCode
+CustomCCode #include <stddef.h>
+
+CustomCCode /* This typedef is only needed for VC6 */
+CustomCCode #if _MSC_VER <= 1200
+CustomCCode typedef int intptr_t;
+CustomCCode #endif
+
+# FIXME!!!!
+# Include some hacks to get around the fact that GLU1.3 is not yet
+# supported in Windows distributions.
+Include glu-impl-win32-GLU13Hacks.cfg