Mesa (master): mesa: fpclassify is available on Haiku

Brian Paul brianp at kemper.freedesktop.org
Tue Dec 27 16:45:59 UTC 2011


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

Author: Alexander von Gluck <kallisti5 at unixzen.com>
Date:   Tue Dec 27 09:15:36 2011 -0700

mesa: fpclassify is available on Haiku

Reviewed-by: Brian Paul <brianp at vmare.com>
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 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. */
 




More information about the mesa-commit mailing list