* 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
+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
#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
// System-specific #define, typedefs, corrections, etc, go here. This
// file will come before all others.
+#ifdef __alpha__
+#define __glibcpp_long_bits 64
+#endif
+
#endif
# 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
#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
/* 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
// 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