projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc751b5
)
mesa: fpclassify dummy definition not needed on Mac OS X.
author
Vinson Lee
<vlee@vmware.com>
Wed, 5 May 2010 07:49:25 +0000
(
00:49
-0700)
committer
Vinson Lee
<vlee@vmware.com>
Wed, 5 May 2010 07:49:25 +0000
(
00:49
-0700)
src/mesa/main/querymatrix.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/querymatrix.c
b/src/mesa/main/querymatrix.c
index 47e2934f2177e3e01f8653c47c16bbeefd407cef..4ecd275ca8300c9c37c5e5f94ac795c841e48b16 100644
(file)
--- a/
src/mesa/main/querymatrix.c
+++ b/
src/mesa/main/querymatrix.c
@@
-70,6
+70,10
@@
fpclassify(double x)
}
}
+#elif defined(__APPLE__)
+
+/* fpclassify is available. */
+
#elif !defined(_XOPEN_SOURCE) || _XOPEN_SOURCE < 600
enum {FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL}