summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-11-21 05:26:52 +0900
committerJosé Fonseca <[email protected]>2008-12-12 16:06:42 +0900
commitd725537dbadc9a69446bc9e21aa31fdae7aa3339 (patch)
tree02ed36248b776a7729a09f36e2e3a19cf35a8cf7 /include
parente9e43321eeec31f1034272af094d90dde80f967d (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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/GL/glut.h b/include/GL/glut.h
index e286349f9b0..92eb6cf3cdd 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