2 ** gluos.h - operating system dependencies for GLU
7 #pragma message disable nocordel
8 #pragma message disable codeunreachable
9 #pragma message disable codcauunr
14 /* Disable *lots* of warnings to get a clean build. I can't be bothered fixing the
15 * code at the moment, as it is pretty ugly.
20 #pragma warning 367 10
21 #pragma warning 379 10
22 #pragma warning 726 10
23 #pragma warning 836 10
34 #include <stdlib.h> /* For _MAX_PATH definition */
38 #define WIN32_LEAN_AND_MEAN
43 #ifdef __MINGW64_VERSION_MAJOR
48 /* XXX: Workaround a bug in mingw-w64's headers when NOGDI is set and
49 * _WIN32_WINNT >= 0x0600 */
50 #define _WIN32_WINNT 0x0400
58 /* Disable warnings */
60 #pragma warning(disable : 4101)
61 #pragma warning(disable : 4244)
62 #pragma warning(disable : 4761)
65 #if defined(_MSC_VER) && _MSC_VER >= 1200 && _MSC_VER < 1300
66 #pragma comment(linker, "/OPT:NOWIN98")
73 #elif defined(__OS2__)
82 /* Disable Microsoft-specific keywords */