summaryrefslogtreecommitdiff
path: root/src/mesa/main/querymatrix.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-05-18 09:28:37 -0700
committerBrian Paul <brianp@vmware.com>2010-05-19 08:29:12 -0600
commitbeb5e1c807bbe90adc7490a043de623d7a3e6e4e (patch)
tree5ef768aa7c6e8570d3d1b7c1934a9793d2875159 /src/mesa/main/querymatrix.c
parentc85aa9990405a29759f54c07280d63db5643d1cd (diff)
fpclassify is available on C99-compliant Solaris releases too
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/querymatrix.c')
-rw-r--r--src/mesa/main/querymatrix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c
index a6b04e9551..ca292aa0e8 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. */