From fba5e9546874e1e140a3862b31e35b68832cc22d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 16 Jul 2001 15:46:42 +0000 Subject: assorted fixes for Win32 (Gerk Huisma) --- src/glu/sgi/include/gluos.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/glu/sgi/include/gluos.h') diff --git a/src/glu/sgi/include/gluos.h b/src/glu/sgi/include/gluos.h index 4132842daf..f8c80826c7 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 /* For _MAX_PATH definition */ +#include +#include #define WIN32_LEAN_AND_MEAN #define NOGDI #define NOIME +#define NOMINMAX + +#define _WIN32_WINNT 0x0400 +#ifndef STRICT + #define STRICT 1 +#endif + #include /* Disable warnings */ @@ -23,6 +33,8 @@ #pragma warning(disable : 4244) #pragma warning(disable : 4761) +#pragma comment(linker, "/OPT:NOWIN98") + #else /* Disable Microsoft-specific keywords */ -- cgit v1.2.3