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]

PATCH: Fix for MAXINT header defines under hpux 10.20


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;

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