aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/querymatrix.c
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-05-05 00:49:25 -0700
committerVinson Lee <[email protected]>2010-05-05 00:49:25 -0700
commit8191e5ae65e9dc05727235a5dd5d96f00702b852 (patch)
tree306b2e88b8502213d07ec1de4dd27e2ffbbc8d33 /src/mesa/main/querymatrix.c
parentbc751b5be0fa7d49875e0e8c8d3d311319e3f13a (diff)
mesa: fpclassify dummy definition not needed on Mac OS X.
Diffstat (limited to 'src/mesa/main/querymatrix.c')
-rw-r--r--src/mesa/main/querymatrix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c
index 47e2934f217..4ecd275ca83 100644
--- a/src/mesa/main/querymatrix.c
+++ b/src/mesa/main/querymatrix.c
@@ -70,6 +70,10 @@ fpclassify(double x)
}
}
+#elif defined(__APPLE__)
+
+/* fpclassify is available. */
+
#elif !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 600
enum {FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL}