summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/include
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-03-17 00:25:40 +0000
committerBrian Paul <[email protected]>2001-03-17 00:25:40 +0000
commit77cc447b96a75106354da02437c4e868265d27bb (patch)
tree06336e071d4786d72d681c72d68126191f0b2993 /src/glu/sgi/include
parent24fab8e2507d9ccc45c1a94de0ad44088cfb8738 (diff)
SGI SI GLU library
Diffstat (limited to 'src/glu/sgi/include')
-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