diff options
author | José Fonseca <[email protected]> | 2011-04-23 13:16:03 +0100 |
---|---|---|
committer | José Fonseca <[email protected]> | 2011-04-23 13:16:03 +0100 |
commit | d34ddad9a5260937e3ad5fc0b945f3195d7e032e (patch) | |
tree | b0ec9960ab0f883963be5e1762d8ef8ed901902f /src/glu/sgi/include | |
parent | 15eaf8297ecb39337109b95480e61f37a6b20f0a (diff) |
scons: Build glu.
Diffstat (limited to 'src/glu/sgi/include')
-rw-r--r-- | src/glu/sgi/include/gluos.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/glu/sgi/include/gluos.h b/src/glu/sgi/include/gluos.h index 8eaa7a153bd..802aa8402d4 100644 --- a/src/glu/sgi/include/gluos.h +++ b/src/glu/sgi/include/gluos.h @@ -40,7 +40,9 @@ #define NOIME #define NOMINMAX -#define _WIN32_WINNT 0x0400 +#ifndef _WIN32_WINNT + #define _WIN32_WINNT 0x0400 +#endif #ifndef STRICT #define STRICT 1 #endif @@ -48,9 +50,11 @@ #include <windows.h> /* Disable warnings */ +#if defined(_MSC_VER) #pragma warning(disable : 4101) #pragma warning(disable : 4244) #pragma warning(disable : 4761) +#endif #if defined(_MSC_VER) && _MSC_VER >= 1200 && _MSC_VER < 1300 #pragma comment(linker, "/OPT:NOWIN98") |