projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c85aa99
)
fpclassify is available on C99-compliant Solaris releases too
author
Alan Coopersmith
<alan.coopersmith@oracle.com>
Tue, 18 May 2010 16:28:37 +0000
(09:28 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 19 May 2010 14:29:12 +0000
(08:29 -0600)
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/querymatrix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/querymatrix.c
b/src/mesa/main/querymatrix.c
index a6b04e95519108b9da9fac918a5b30769641c79e..ca292aa0e89408136f46bf4496d98f86856395d6 100644
(file)
--- 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. */