summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/querymatrix.c
diff options
context:
space:
mode:
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}