summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-11-01 19:18:48 -0500
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-11-04 10:30:19 +0100
commit7ae07d4f028849d30b4f260b3261d634f16d7331 (patch)
tree855777d02d49d15c9bf362ebe1bf8a30c40f9b65 /libc
parent2086015b9a223586c1a2b8d7f015ad3a38bdf8bc (diff)
libm: implement a generic sincos().
We already provide sincos() on some archs, so we should ship a generic version. Signed-off-by: William Pitcock <nenolod@dereferenced.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/bits/mathcalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/bits/mathcalls.h b/libc/sysdeps/linux/common/bits/mathcalls.h
index 1e92b527e..013d2b2a7 100644
--- a/libc/sysdeps/linux/common/bits/mathcalls.h
+++ b/libc/sysdeps/linux/common/bits/mathcalls.h
@@ -90,7 +90,7 @@ __MATHCALLI (sinh,, (_Mdouble_ __x))
__MATHCALLI (tanh,, (_Mdouble_ __x))
_Mdouble_END_NAMESPACE
-#if 0 /*def __USE_GNU*/
+#if defined __USE_GNU
/* Cosine and sine of X. */
__MATHDECL (void,sincos,,
(_Mdouble_ __x, _Mdouble_ *__sinx, _Mdouble_ *__cosx))