]> gcc.gnu.org Git - gcc.git/commitdiff
os_defines.h: Set to 64 bit longs with __s390x__ only.
authorBenjamin Kosnik <bkoz@redhat.com>
Fri, 26 Oct 2001 02:13:31 +0000 (02:13 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Fri, 26 Oct 2001 02:13:31 +0000 (02:13 +0000)
2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
    Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
    Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

* config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
__s390x__ only.
* include/bits/std_limits.h: Fix wchar_t issues.
* config/os/aix/bits/os_defines.h: Fix.

Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com>
From-SVN: r46523

libstdc++-v3/ChangeLog
libstdc++-v3/config/cpu/s390/bits/cpu_limits.h
libstdc++-v3/config/os/aix/bits/os_defines.h
libstdc++-v3/config/os/gnu-linux/bits/os_defines.h
libstdc++-v3/include/bits/std_limits.h

index b64f5705499f8d7ea79270a64d76670be590fe20..65f391e65d20aba2beb9b10e89997d79c4132b70 100644 (file)
@@ -1,3 +1,12 @@
+2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
+           Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
+           Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+       
+       * config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
+       __s390x__ only.
+       * include/bits/std_limits.h: Fix wchar_t issues.
+       * config/os/aix/bits/os_defines.h: Fix.
+       
 2001-10-25  Benjamin Kosnik  <bkoz@redhat.com>
 
        * include/bits/locale_facets.tcc (collate::do_transform): Fix.
index 21d31e3631a66a95ac93fd7739c541113f283a76..f0ff04dedaa106817981d0c18b3c4432ce790142 100644 (file)
 #ifndef _GLIBCPP_CPU_LIMITS
 #define _GLIBCPP_CPU_LIMITS 1
 
-#define __glibcpp_long_bits 64
-
 #define __glibcpp_long_double_bits 64
 
 #endif
-
-
-
index 188ced19af3ec7bbcea1948ccf400132c9d41db6..6a658a1a53f46d00462e54c21d3d2c03784c0559 100644 (file)
@@ -65,4 +65,3 @@
 #endif
 
 #endif
-
index f5612ed060b118afcbe6ef62f1fdb3c83409786a..4b515408f0234ff6dbd3e64c3e202e48bb2b3c20 100644 (file)
@@ -58,18 +58,14 @@ typedef __loff_t __off64_t;
 // our definitions.
 #define __NO_MATH_INLINES
 
-#endif /* not glibc 2.1 or higher.  */
+#endif 
 
-# if defined __GLIBC__ && __GLIBC__ >= 2
+#if defined __GLIBC__ && __GLIBC__ >= 2
 // We must not see the optimized string functions GNU libc defines.
-#  define __NO_STRING_INLINES
-# endif
-
-#if defined(__sparc__) && defined(__arch64__)
-#define __glibcpp_long_bits 64
+#define __NO_STRING_INLINES
 #endif
 
-#ifdef __powerpc64__
+#if defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__))
 #define __glibcpp_long_bits 64
 #endif
 
index 3fca4dcd0339057d21ab3d226d5f854aa67c095f..10a5a38d2136a2cf5f811285191b5e689fa09fab 100644 (file)
@@ -96,7 +96,7 @@
 #define __glibcpp_wchar_t_bits 32
 #endif
 #ifndef __glibcpp_wchar_t_is_signed
-#define __glibcpp_wchar_t_is_signed false
+#define __glibcpp_wchar_t_is_signed true
 #endif
 #ifdef _GLIBCPP_USE_LONG_LONG
 #ifndef __glibcpp_long_long_bits
This page took 0.080955 seconds and 5 git commands to generate.