diff options
author | Alan Coopersmith <[email protected]> | 2010-05-18 09:28:37 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-05-19 08:29:12 -0600 |
commit | beb5e1c807bbe90adc7490a043de623d7a3e6e4e (patch) | |
tree | 5ef768aa7c6e8570d3d1b7c1934a9793d2875159 /src | |
parent | c85aa9990405a29759f54c07280d63db5643d1cd (diff) |
fpclassify is available on C99-compliant Solaris releases too
Signed-off-by: Alan Coopersmith <[email protected]>
Signed-off-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/querymatrix.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |