mesa: fpclassify dummy definition not needed on Mac OS X.
authorVinson Lee <vlee@vmware.com>
Wed, 5 May 2010 07:49:25 +0000 (00:49 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 5 May 2010 07:49:25 +0000 (00:49 -0700)
src/mesa/main/querymatrix.c

index 47e2934f2177e3e01f8653c47c16bbeefd407cef..4ecd275ca8300c9c37c5e5f94ac795c841e48b16 100644 (file)
@@ -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}