This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

hppa*-linux long and long double os defines


This fixes 18_support/numeric_limits.cc under hppa-linux.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2002-05-11  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* config/os/gnu-linux/bits/os_defines.h (__glibcpp_long_bits): Define
	to 64 for hppa 64-bit port.
	(__glibcpp_long_double_bits): Define to 64 for all hppa ports.

Index: config/os/gnu-linux/bits/os_defines.h
===================================================================
RCS file: /cvsroot/gcc/gcc/libstdc++-v3/config/os/gnu-linux/bits/os_defines.h,v
retrieving revision 1.18
diff -u -3 -p -r1.18 os_defines.h
--- config/os/gnu-linux/bits/os_defines.h	5 Apr 2002 13:46:50 -0000	1.18
+++ config/os/gnu-linux/bits/os_defines.h	2 May 2002 21:09:59 -0000
@@ -65,11 +65,11 @@ typedef __loff_t __off64_t;
 #define __NO_STRING_INLINES
 #endif
 
-#if defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__))
+#if (defined(__hppa__) && defined(__LP64__)) || defined(__powerpc64__) || defined(__s390x__) || (defined(__sparc__) && defined(__arch64__))
 #define __glibcpp_long_bits 64
 #endif
 
-#if defined(__sparc__) && !defined(__arch64__)
+#if defined(__hppa__) || (defined(__sparc__) && !defined(__arch64__))
 #define __glibcpp_long_double_bits 64
 #endif
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]