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