From 8191e5ae65e9dc05727235a5dd5d96f00702b852 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 5 May 2010 00:49:25 -0700 Subject: mesa: fpclassify dummy definition not needed on Mac OS X. --- src/mesa/main/querymatrix.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa') 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} -- cgit v1.2.3