aboutsummaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/include/gluos.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glu/sgi/include/gluos.h')
-rw-r--r--src/glu/sgi/include/gluos.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/glu/sgi/include/gluos.h b/src/glu/sgi/include/gluos.h
new file mode 100644
index 00000000000..45a471d8fad
--- /dev/null
+++ b/src/glu/sgi/include/gluos.h
@@ -0,0 +1,25 @@
+/*
+** gluos.h - operating system dependencies for GLU
+**
+** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/include/gluos.h,v 1.1 2001/03/17 00:25:40 brianp Exp $
+*/
+
+#ifdef _WIN32
+
+#define WIN32_LEAN_AND_MEAN
+#define NOGDI
+#define NOIME
+#include <windows.h>
+
+/* Disable warnings */
+#pragma warning(disable : 4101)
+#pragma warning(disable : 4244)
+#pragma warning(disable : 4761)
+
+#else
+
+/* Disable Microsoft-specific keywords */
+#define GLAPIENTRY
+#define WINGDIAPI
+
+#endif