[Mesa-dev] [PATCH 5/6] mesa: fpclassify is available on Haiku

Alexander von Gluck kallisti5 at unixzen.com
Tue Dec 27 07:43:07 PST 2011


---
  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 eaedf7c..2843d55 100644
--- a/src/mesa/main/querymatrix.c
+++ b/src/mesa/main/querymatrix.c
@@ -73,7 +73,7 @@ fpclassify(double x)
  #elif 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(__sun) && defined(__GNUC__)) || defined(ANDROID) || 
defined(__HAIKU__)

  /* fpclassify is available. */

-- 
1.7.7.2


More information about the mesa-dev mailing list