diff options
author | José Fonseca <[email protected]> | 2008-11-21 05:26:52 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-11-21 10:44:31 +0900 |
commit | 81aa678ce8f4a1f7c75b928ba2b107908959d50d (patch) | |
tree | eaf003019b7b713a9d6b337b3f73e4d94c1d0b42 /include | |
parent | 76624096617c7218d828c5de9c02e70d578c37c7 (diff) |
glut: MinGW portability fixes.
Still, it doesn't run as well as the glut binaries...
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/glut.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h index 137b8efa13a..49225361bb7 100644 --- a/include/GL/glut.h +++ b/include/GL/glut.h @@ -53,7 +53,7 @@ extern "C" { /* To disable supression of annoying warnings about floats being promoted to doubles, define GLUT_NO_WARNING_DISABLE in your compile preprocessor options. */ -# ifndef GLUT_NO_WARNING_DISABLE +# if defined(_MSC_VER) && !defined(GLUT_NO_WARNING_DISABLE) # pragma warning (disable:4244) /* Disable bogus VC++ 4.2 conversion warnings. */ # pragma warning (disable:4305) /* VC++ 5.0 version of above warning. */ # endif |