summaryrefslogtreecommitdiffstats
path: root/src/glu/sgi/include/gluos.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-07-16 15:46:42 +0000
committerBrian Paul <[email protected]>2001-07-16 15:46:42 +0000
commitfba5e9546874e1e140a3862b31e35b68832cc22d (patch)
treec540c6cee09570a153ee1e53e423fd0b27cbcba4 /src/glu/sgi/include/gluos.h
parent96385fa15569e25cd0977e678c0ff3bdab6ef316 (diff)
assorted fixes for Win32 (Gerk Huisma)
Diffstat (limited to 'src/glu/sgi/include/gluos.h')
-rw-r--r--src/glu/sgi/include/gluos.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/glu/sgi/include/gluos.h b/src/glu/sgi/include/gluos.h
index 4132842dafc..f8c80826c74 100644
--- a/src/glu/sgi/include/gluos.h
+++ b/src/glu/sgi/include/gluos.h
@@ -1,7 +1,7 @@
/*
** gluos.h - operating system dependencies for GLU
**
-** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/include/gluos.h,v 1.2 2001/03/22 11:38:36 joukj Exp $
+** $Header: /home/krh/git/sync/mesa-cvs-repo/Mesa/src/glu/sgi/include/gluos.h,v 1.3 2001/07/16 15:46:42 brianp Exp $
*/
#ifdef __VMS
#ifdef __cplusplus
@@ -12,10 +12,20 @@
#endif
#ifdef _WIN32
+#include <stdlib.h> /* For _MAX_PATH definition */
+#include <stdio.h>
+#include <malloc.h>
#define WIN32_LEAN_AND_MEAN
#define NOGDI
#define NOIME
+#define NOMINMAX
+
+#define _WIN32_WINNT 0x0400
+#ifndef STRICT
+ #define STRICT 1
+#endif
+
#include <windows.h>
/* Disable warnings */
@@ -23,6 +33,8 @@
#pragma warning(disable : 4244)
#pragma warning(disable : 4761)
+#pragma comment(linker, "/OPT:NOWIN98")
+
#else
/* Disable Microsoft-specific keywords */