Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(705)

Unified Diff: src/mesa/main/querymatrix.c

Issue 32323009: mesa compile fixes for VS2013 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/mesa/
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/c99/stdbool.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mesa/main/querymatrix.c
===================================================================
--- src/mesa/main/querymatrix.c (revision 229946)
+++ src/mesa/main/querymatrix.c (working copy)
@@ -37,6 +37,7 @@
#define FLOAT_TO_FIXED(x) ((GLfixed) ((x) * 65536.0))
#if defined(_MSC_VER)
+#if _MSC_VER < 1800 /* Not required on VS2013 and above. */
/* Oddly, the fpclassify() function doesn't exist in such a form
* on MSVC. This is an implementation using slightly different
* lower-level Windows functions.
@@ -69,6 +70,7 @@
return FP_NAN;
}
}
+#endif /* _MSC_VER < 1800 */
#elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || \
« no previous file with comments | « include/c99/stdbool.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698