Mesa (master): mesa: fpclassify dummy definition not needed on Mac OS X.

Vinson Lee vlee at kemper.freedesktop.org
Wed May 5 07:50:29 UTC 2010


Module: Mesa
Branch: master
Commit: 8191e5ae65e9dc05727235a5dd5d96f00702b852
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8191e5ae65e9dc05727235a5dd5d96f00702b852

Author: Vinson Lee <vlee at vmware.com>
Date:   Wed May  5 00:49:25 2010 -0700

mesa: fpclassify dummy definition not needed on Mac OS X.

---

 src/mesa/main/querymatrix.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c
index 47e2934..4ecd275 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}




More information about the mesa-commit mailing list