Fix PowerPC long double as well.
authorDavid Edelsohn <edelsohn@gnu.org>
Thu, 23 Aug 2001 23:02:01 +0000 (23:02 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Thu, 23 Aug 2001 23:02:01 +0000 (19:02 -0400)
From-SVN: r45141

libstdc++-v3/ChangeLog
libstdc++-v3/config/os/gnu-linux/bits/os_defines.h

index b977a802549a8a3d9ef01df7ef27e17f53fde088..aafc29d317341d3c891e65ea11781572e9c633c7 100644 (file)
@@ -1,6 +1,7 @@
 2001-08-23  David Edelsohn  <edelsohn@gnu.org>
 
        * config/os/gnu-linux/bits/os_defines.h: Correct __s390__ definitions.
+       Set __powerpc__ long double definition based on __LONG_DOUBLE_128__.
 
 2001-08-23  Jason Merrill  <jason_merrill@redhat.com>
 
index 474238cebb88b5420e4fe9cf10cabe5ffa9f7b3a..2b4375e81eb13f4b8d82c29208a1ba6a35d2844b 100644 (file)
@@ -71,7 +71,7 @@ typedef __loff_t __off64_t;
 #define __glibcpp_long_bits 64
 #endif
 
-#if defined (__alpha__) || defined (__powerpc64__) || defined (__s390__)
+#if defined (__alpha__) || (defined (__powerpc__) && !defined (__LONG_DOUBLE_128__)) || defined (__s390__)
 #define __glibcpp_long_double_bits 64
 #endif