os_defines.h: Define std_limits.h macros.

* config/os/aix/bits/os_defines.h: Define std_limits.h macros.
	* config/os/generic/bits/os_defines.h: Likewise.
	* config/os/gnu-linux/bits/os_defines.h: Likewise.
	* config/os/hpux/bits/os_defines.h: Likewise.
	* config/os/irix/irix6.5/bits/os_defines.h: Likewise.
	* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.

From-SVN: r44745
This commit is contained in:
David Edelsohn 2001-08-09 18:01:36 +00:00 committed by David Edelsohn
parent f237d906c7
commit 3b87de3d00
7 changed files with 49 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2001-08-09 David Edelsohn <edelsohn@gnu.org>
* config/os/aix/bits/os_defines.h: Define std_limits.h macros.
* config/os/generic/bits/os_defines.h: Likewise.
* config/os/gnu-linux/bits/os_defines.h: Likewise.
* config/os/hpux/bits/os_defines.h: Likewise.
* config/os/irix/irix6.5/bits/os_defines.h: Likewise.
* config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
2001-08-08 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (libstdc___la_LDFLAGS): Use -release instead of

View File

@ -55,5 +55,16 @@
#undef _G_USING_THUNKS
#define _G_USING_THUNKS 0
#define __glibcpp_plain_char_is_signed false
#define __glibcpp_long_double_bits 64
#if !defined(_AIX51) || !defined(__64BIT__)
#define __glibcpp_wchar_t_bits 16
#endif
#ifdef __64BIT__
#define __glibcpp_long_bits 64
#endif
#endif

View File

@ -34,4 +34,8 @@
// System-specific #define, typedefs, corrections, etc, go here. This
// file will come before all others.
#ifdef __alpha__
#define __glibcpp_long_bits 64
#endif
#endif

View File

@ -63,8 +63,18 @@ typedef __loff_t __off64_t;
# define __NO_STRING_INLINES
# endif
#if defined (__powerpc__) || defined (__s390__) || defined (__s390x__)
#define __glibcpp_plain_char_is_signed false
#define __glibcpp_wchar_t_is_signed true
#endif
#if defined (__alpha__) || defined (__powerpc64__) || (defined (__sparc__) && defined(__arch64__)) || defined (__s390__) || defined (__s390x__)
#define __glibcpp_long_bits 64
#endif
#if defined (__alpha__) || defined (__powerpc64__)
#define __glibcpp_long_double_bits 64
#endif
#endif

View File

@ -39,6 +39,11 @@
#define __off64_t off64_t
#define __ssize_t ssize_t
#define __glibcpp_wchar_t_is_signed false
#ifdef __LP64__
#define __glibcpp_long_bits 64
#endif
#endif

View File

@ -52,6 +52,12 @@
/* GCC does not use thunks on IRIX. */
#define _G_USING_THUNKS 0
#define __glibcpp_long_double_bits 64
#if __LONG_MAX__ > 2147483647
#define __glibcpp_wchar_t_bits 64
#define __glibcpp_long_bits 64
#endif
#endif

View File

@ -45,4 +45,8 @@
// Without this all the libio vtbls are offset wrongly.
#define _G_USING_THUNKS 0
#if defined(__sparc_v9) || defined(__arch64__)
#define __glibcpp_long_bits 64
#endif
#endif