This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PATCH: Fix for MAXINT header defines under hpux 10.20
- To: gcc-patches at gcc dot gnu dot org
- Subject: PATCH: Fix for MAXINT header defines under hpux 10.20
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- Date: Sat, 14 Oct 2000 16:00:07 -0400 (EDT)
I got tired of warnings about MAXINT being redefined by values.h. Here
is a fix.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
2000-10-05 J. David Anglin <dave@hiauly1.hia.nrc.ca>
* inclhack.def (hpux_maxint): Limit fix to HPUX 10.X and also
apply to values.h.
--- inclhack.def.orig Fri Sep 29 14:23:52 2000
+++ inclhack.def Thu Oct 5 14:20:19 2000
@@ -1205,7 +1205,9 @@
*/
fix = {
hackname = hpux_maxint;
+ mach = "*-*-hpux10*";
files = sys/param.h;
+ files = values.h;
select = "^#[ \t]*define[ \t]*MAXINT[ \t]";
c_fix = format;