Mesa (master): mesa: fpclassify dummy definition is not needed on cygwin

Brian Paul brianp at kemper.freedesktop.org
Fri May 7 20:36:22 UTC 2010


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

Author: Jon TURNEY <jon.turney at dronecode.org.uk>
Date:   Fri May  7 18:59:53 2010 +0100

mesa: fpclassify dummy definition is not needed on cygwin

fpclassify is provided by math.h

Signed-off-by: Jon TURNEY <jon.turney at dronecode.org.uk>
Signed-off-by: Brian Paul <brianp at vmware.com>

---

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

diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c
index 4ecd275..e5c08a6 100644
--- a/src/mesa/main/querymatrix.c
+++ b/src/mesa/main/querymatrix.c
@@ -70,7 +70,7 @@ fpclassify(double x)
     }
 }
 
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) || defined(__CYGWIN__)
 
 /* fpclassify is available. */
 




More information about the mesa-commit mailing list