From: Daniel S. Lewart Date: Thu, 9 Sep 1999 10:33:37 +0000 (-0500) Subject: [ID 19990909.003] MAXINT redefined warning on HP-UX 10.20 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5b3db61d7687cd3e7d04cffbbc0985b23d5e2613;p=p5sagit%2Fp5-mst-13.2.git [ID 19990909.003] MAXINT redefined warning on HP-UX 10.20 To: perl5-porters@perl.org Message-Id: <199909091533.KAA01242@www.cvm.uiuc.edu> p4raw-id: //depot/cfgperl@4114 --- diff --git a/pp_sys.c b/pp_sys.c index 5271a86..e0beb4e 100644 --- a/pp_sys.c +++ b/pp_sys.c @@ -22,6 +22,11 @@ /* Shadow password support for solaris - pdo@cs.umd.edu * Not just Solaris: at least HP-UX, IRIX, Linux. * the API is from SysV. --jhi */ +#ifdef __hpux__ +/* There is a MAXINT coming from <- <- + * and another MAXINT from "perl.h" <- . */ +#undef MAXINT +#endif #include #endif