From: Chia-I Wu Date: Wed, 30 Jun 2010 04:58:36 +0000 (+0800) Subject: mesa: Use fpclassify for GL_OES_query_matrix on OpenBSD and NetBSD. X-Git-Tag: mesa-7.9-rc1~2109 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2f0b01826dbae60fed60c0d744d42a1a4cde4a84;p=platform%2Fupstream%2Fmesa.git mesa: Use fpclassify for GL_OES_query_matrix on OpenBSD and NetBSD. Patch from Brad Smith The attached patch allows the GL_OES_query_matrix function to use the systems fpclassify() for OpenBSD and NetBSD. --- diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c index a0969f6..6f62415 100644 --- a/src/mesa/main/querymatrix.c +++ b/src/mesa/main/querymatrix.c @@ -71,7 +71,8 @@ fpclassify(double x) } #elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \ - defined(__DragonFly__) || (defined(__sun) && defined(__C99FEATURES__)) + defined(__OpenBSD__) || defined(__NetBSD__) || defined(__DragonFly__) || \ + (defined(__sun) && defined(__C99FEATURES__)) /* fpclassify is available. */