glut: MinGW portability fixes.

Still, it doesn't run as well as the glut binaries...
This commit is contained in:
José Fonseca
2008-11-21 05:26:52 +09:00
parent 7662409661
commit 81aa678ce8
7 changed files with 96 additions and 4 deletions

View File

@@ -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