trivial diff: boehm_gc/config.h HPUX egcs portability fix

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Oct 28 10:16:11 AEDT 1998


Estimated hours taken: 0.25

boehm_gc/config.h:
	Fix a portability problem: on HPUX systems, with egcs as
	the C compiler, the test for HPUX wasn't working, because
	egcs doesn't define `_PA_RISC1_0' or `_PA_RISC1_1'.
	I changed it to also check for `hppa' and `__hppa__',
	which egcs does define.

Index: boehm_gc/config.h
===================================================================
RCS file: /home/mercury1/repository/mercury/boehm_gc/config.h,v
retrieving revision 1.16
diff -u -r1.16 config.h
--- config.h	1998/10/02 09:24:57	1.16
+++ config.h	1998/10/27 23:09:09
@@ -114,7 +114,8 @@
 #   define SYSV
 #   define mach_type_known
 # endif
-# if defined(_PA_RISC1_0) || defined(_PA_RISC1_1)
+# if defined(_PA_RISC1_0) || defined(_PA_RISC1_1) \
+	|| defined(hppa) || defined(__hppa__)
 #   define HP_PA
 #   define mach_type_known
 # endif

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list