summaryrefslogtreecommitdiff
path: root/libm/s_signbit.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-14 15:59:35 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-14 16:25:33 +0100
commit73d6e5c41b61633e22ea74e3aa2df721512dca57 (patch)
tree496997a4fe295418c7d34b5ffc194c805470fadd /libm/s_signbit.c
parent2c3ed060512a2e90ec9f912cf1a5eb1ecd700fb9 (diff)
libm: fix C99_MATH on __NO_LONG_DOUBLE_MATH hosts
alias l to their normal double counterparts. Works around problems with libgcc blindly calling __finitel on e.g. ppc32 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libm/s_signbit.c')
-rw-r--r--libm/s_signbit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libm/s_signbit.c b/libm/s_signbit.c
index ee1b7c62e..ca4144af8 100644
--- a/libm/s_signbit.c
+++ b/libm/s_signbit.c
@@ -33,3 +33,6 @@ __signbit (double x)
return hx & 0x80000000;
}
libm_hidden_def(__signbit)
+#if defined __DO_C99_MATH__
+int_WRAPPER_C99(__signbit)
+#endif