From: Vinson Lee Date: Wed, 5 May 2010 07:49:25 +0000 (-0700) Subject: mesa: fpclassify dummy definition not needed on Mac OS X. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8191e5ae65e9dc05727235a5dd5d96f00702b852;p=mesa.git mesa: fpclassify dummy definition not needed on Mac OS X. --- 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}