[Mesa-dev] [PATCH] fpclassify is available on C99-compliant Solaris releases too
Alan Coopersmith
alan.coopersmith at oracle.com
Tue May 18 09:28:37 PDT 2010
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
src/mesa/main/querymatrix.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c
index a6b04e9..ca292aa 100644
--- a/src/mesa/main/querymatrix.c
+++ b/src/mesa/main/querymatrix.c
@@ -70,7 +70,8 @@ fpclassify(double x)
}
}
-#elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__)
+#elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
+ (defined(__sun) && defined(__C99FEATURES__))
/* fpclassify is available. */
--
1.5.6.5
More information about the mesa-dev
mailing list