mesa: fpclassify dummy definition is not needed on cygwin
authorJon TURNEY <jon.turney@dronecode.org.uk>
Fri, 7 May 2010 17:59:53 +0000 (18:59 +0100)
committerBrian Paul <brianp@vmware.com>
Fri, 7 May 2010 20:36:13 +0000 (14:36 -0600)
fpclassify is provided by math.h

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/querymatrix.c

index 4ecd275ca8300c9c37c5e5f94ac795c841e48b16..e5c08a641467db3e461b4f89bf778587657fa370 100644 (file)
@@ -70,7 +70,7 @@ fpclassify(double x)
     }
 }
 
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) || defined(__CYGWIN__)
 
 /* fpclassify is available. */