summaryrefslogtreecommitdiff
path: root/package/MesaLib/patches/patch-src_mesa_main_querymatrix_c
blob: f178bfef0eb1f498d8745a21e1734d4353bd8ce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- Mesa-8.0.5.orig/src/mesa/main/querymatrix.c	2012-03-30 18:19:03.000000000 +0200
+++ Mesa-8.0.5/src/mesa/main/querymatrix.c	2013-09-19 12:19:01.000000000 +0200
@@ -70,7 +70,7 @@ fpclassify(double x)
     }
 }
 
-#elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
+#elif defined(fpclassify) || defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \
      defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || \
      (defined(__sun) && defined(__C99FEATURES__)) || defined(__MINGW32__) || \
      (defined(__sun) && defined(__GNUC__)) || defined(ANDROID) || defined(__HAIKU__)