Commit e37beb47 by Benjamin Kosnik Committed by Benjamin Kosnik

os_defines.h: Set to 64 bit longs with __s390x__ only.


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
parent 961b8e70
2001-10-25 Benjamin Kosnik <bkoz@redhat.com> 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. * include/bits/locale_facets.tcc (collate::do_transform): Fix.
......
...@@ -28,11 +28,6 @@ ...@@ -28,11 +28,6 @@
#ifndef _GLIBCPP_CPU_LIMITS #ifndef _GLIBCPP_CPU_LIMITS
#define _GLIBCPP_CPU_LIMITS 1 #define _GLIBCPP_CPU_LIMITS 1
#define __glibcpp_long_bits 64
#define __glibcpp_long_double_bits 64 #define __glibcpp_long_double_bits 64
#endif #endif
...@@ -65,4 +65,3 @@ ...@@ -65,4 +65,3 @@
#endif #endif
#endif #endif
...@@ -58,18 +58,14 @@ typedef __loff_t __off64_t; ...@@ -58,18 +58,14 @@ typedef __loff_t __off64_t;
// our definitions. // our definitions.
#define __NO_MATH_INLINES #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. // We must not see the optimized string functions GNU libc defines.
# define __NO_STRING_INLINES #define __NO_STRING_INLINES
# endif
#if defined(__sparc__) && defined(__arch64__)
#define __glibcpp_long_bits 64
#endif #endif
#ifdef __powerpc64__ #if defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__))
#define __glibcpp_long_bits 64 #define __glibcpp_long_bits 64
#endif #endif
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
#define __glibcpp_wchar_t_bits 32 #define __glibcpp_wchar_t_bits 32
#endif #endif
#ifndef __glibcpp_wchar_t_is_signed #ifndef __glibcpp_wchar_t_is_signed
#define __glibcpp_wchar_t_is_signed false #define __glibcpp_wchar_t_is_signed true
#endif #endif
#ifdef _GLIBCPP_USE_LONG_LONG #ifdef _GLIBCPP_USE_LONG_LONG
#ifndef __glibcpp_long_long_bits #ifndef __glibcpp_long_long_bits
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment