about summary refs log tree commit diff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-04-12 04:17:47 +0000
committerUlrich Drepper <drepper@redhat.com>2008-04-12 04:17:47 +0000
commit9e113ecd8031b17c2d9be312cf9cb0b59e8d471a (patch)
treeed3aa8804074df5f0e432600dfc64c465d0b23bc /sysdeps/unix/sysv
parent3b6d574e0100415b433127a089844af8ab54f02a (diff)
downloadglibc-9e113ecd8031b17c2d9be312cf9cb0b59e8d471a.tar.gz
glibc-9e113ecd8031b17c2d9be312cf9cb0b59e8d471a.tar.xz
glibc-9e113ecd8031b17c2d9be312cf9cb0b59e8d471a.zip
* sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h (__signbitl): glibc-2.8 cvs/glibc-2_8 cvs/fedora-glibc-20080412T0741
	Also use for 32-bit.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h b/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h
index 6d7e006307..4f173912ed 100644
--- a/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h
+++ b/sysdeps/unix/sysv/linux/powerpc/bits/mathinline.h
@@ -72,11 +72,11 @@ __NTH (__signbit (double __x))
   __extension__ union { double __d; int __i[2]; } __u = { __d: __x };
   return __u.__i[0] < 0;
 }
-#  if defined __powerpc64__ && defined __LONGDOUBLE128
+#  ifdef __LONGDOUBLE128
 __MATH_INLINE int
 __NTH (__signbitl (long double __x))
 {
-  __extension__ union { long double __d; long int __i[2]; } __u = { __d: __x };
+  __extension__ union { long double __d; int __i[4]; } __u = { __d: __x };
   return __u.__i[0] < 0;
 }
 #  endif