From: Alan Coopersmith Date: Tue, 18 May 2010 16:28:37 +0000 (-0700) Subject: fpclassify is available on C99-compliant Solaris releases too X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=beb5e1c807bbe90adc7490a043de623d7a3e6e4e;p=mesa.git fpclassify is available on C99-compliant Solaris releases too Signed-off-by: Alan Coopersmith Signed-off-by: Brian Paul --- diff --git a/src/mesa/main/querymatrix.c b/src/mesa/main/querymatrix.c index a6b04e95519..ca292aa0e89 100644 --- a/src/mesa/main/querymatrix.c +++ b/src/mesa/main/querymatrix.c @@ -70,7 +70,8 @@ fpclassify(double x) } } -#elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) +#elif defined(__APPLE__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \ + (defined(__sun) && defined(__C99FEATURES__)) /* fpclassify is available. */