summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Fonseca <jfonseca@vmware.com>2017-01-13 11:08:00 +0000
committerJose Fonseca <jfonseca@vmware.com>2017-01-13 11:08:00 +0000
commitfa190e45dc067d6af13682b98b895f84406eaddf (patch)
tree6fa901b73ab6c0992233f9736f87adc9fc8fce34
parenta869d15d15005127240f632f30e237f2fd747cd2 (diff)
downloadmesa-demos-fa190e45dc067d6af13682b98b895f84406eaddf.zip
mesa-demos-fa190e45dc067d6af13682b98b895f84406eaddf.tar.xz
util/trackball: Avoid MSVC pragmas on Mingw.
Trivial.
-rw-r--r--src/util/trackball.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/trackball.c b/src/util/trackball.c
index a6c4c60..581bc38 100644
--- a/src/util/trackball.c
+++ b/src/util/trackball.c
@@ -50,7 +50,7 @@
* Much mucking with by:
* Gavin Bell
*/
-#if defined(_WIN32)
+#if defined(_MSC_VER)
#pragma warning (disable:4244) /* disable bogus conversion warnings */
#endif
#include <math.h>