From 5b3db61d7687cd3e7d04cffbbc0985b23d5e2613 Mon Sep 17 00:00:00 2001 From: "Daniel S. Lewart" Date: Thu, 9 Sep 1999 05:33:37 -0500 Subject: [PATCH] [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 --- pp_sys.c | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.7.4