diff options
author | lecoanet | 2003-03-17 16:10:19 +0000 |
---|---|---|
committer | lecoanet | 2003-03-17 16:10:19 +0000 |
commit | a2f3162504ea229530c67a93ab36ed992c512240 (patch) | |
tree | 3ceb184da6095306b0a7ed5aef75a4b9c0932a62 /libtess/gluos.h | |
parent | 0ecc558850268a98e1d002ae150fad10f054e1f7 (diff) | |
download | tkzinc-a2f3162504ea229530c67a93ab36ed992c512240.zip tkzinc-a2f3162504ea229530c67a93ab36ed992c512240.tar.gz tkzinc-a2f3162504ea229530c67a93ab36ed992c512240.tar.bz2 tkzinc-a2f3162504ea229530c67a93ab36ed992c512240.tar.xz |
*** empty log message ***
Diffstat (limited to 'libtess/gluos.h')
-rw-r--r-- | libtess/gluos.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/libtess/gluos.h b/libtess/gluos.h new file mode 100644 index 0000000..2a22f74 --- /dev/null +++ b/libtess/gluos.h @@ -0,0 +1,46 @@ +/* +** gluos.h - operating system dependencies for GLU +** +** $Header$ +*/ +#ifdef __VMS +#ifdef __cplusplus +#pragma message disable nocordel +#pragma message disable codeunreachable +#pragma message disable codcauunr +#endif +#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 */ +#pragma warning(disable : 4101) +#pragma warning(disable : 4244) +#pragma warning(disable : 4761) + +#if defined(_MSC_VER) && _MSC_VER >= 1200 +#pragma comment(linker, "/OPT:NOWIN98") +#endif + +#else + +/* Disable Microsoft-specific keywords */ +#define GLAPIENTRY +#define WINGDIAPI + +#endif |