diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-11-21 05:26:52 +0900 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2011-07-11 20:05:23 +0100 |
commit | b76478f86b8ff32b1639f1a6c2a567c09f8588a5 (patch) | |
tree | 2e871ddd89354ec99a60f6e1f612208a05ff2e78 /include/GL/glut.h | |
parent | c60f977b7e8db821a790bce1fa34bcec47e23fd7 (diff) | |
download | glut-b76478f86b8ff32b1639f1a6c2a567c09f8588a5.tar.gz |
glut: MinGW portability fixes.
Still, it doesn't run as well as the glut binaries...
Diffstat (limited to 'include/GL/glut.h')
-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 137b8ef..4922536 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 |