Mesa (master): mesa: Add Android to list of platforms that define fpclassify()
Chad Versace
chadversary at kemper.freedesktop.org
Tue Aug 16 21:05:53 UTC 2011
Module: Mesa
Branch: master
Commit: 3c9f172fe801a8e954a40affc38942b628b81bda
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3c9f172fe801a8e954a40affc38942b628b81bda
Author: Chad Versace <chad at chad-versace.us>
Date: Mon Aug 15 13:29:15 2011 -0700
mesa: Add Android to list of platforms that define fpclassify()
This is a fix for the Android build.
Signed-off-by: Chad Versace <chad at chad-versace.us>
---
src/mesa/main/querymatrix.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c
index 944ad43..eaedf7c 100644
--- a/src/mesa/main/querymatrix.c
+++ b/src/mesa/main/querymatrix.c
@@ -73,7 +73,7 @@ fpclassify(double x)
#elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || \
(defined(__sun) && defined(__C99FEATURES__)) || defined(__MINGW32__) || \
- (defined(__sun) && defined(__GNUC__))
+ (defined(__sun) && defined(__GNUC__)) || defined(ANDROID)
/* fpclassify is available. */
More information about the mesa-commit
mailing list