From: Jarkko Hietaniemi Date: Fri, 4 Feb 2000 19:48:42 +0000 (+0000) Subject: HP-UX largefileness doesn't like lseek being redeclared; X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=101e46016804bc9075e660c95b8f086039f29428;p=p5sagit%2Fp5-mst-13.2.git HP-UX largefileness doesn't like lseek being redeclared; no more USE_LONG_LONG. p4raw-id: //depot/cfgperl@4994 --- diff --git a/perl.h b/perl.h index afcafbc..36a7cce 100644 --- a/perl.h +++ b/perl.h @@ -2042,7 +2042,7 @@ char *crypt (const char*, const char*); # ifndef getenv char *getenv (const char*); # endif /* !getenv */ -#ifndef EPOC +#if !defined(EPOC) && !(defined(__hpux) && defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) Off_t lseek (int,Off_t,int); #endif # endif /* !DONT_DECLARE_STD */ @@ -3025,8 +3025,7 @@ typedef struct am_table_short AMTS; # define Atol atol /* we assume atol being available anywhere */ #endif -#if !defined(Strtoul) && defined(USE_LONG_LONG) && defined(HAS_LONG_LONG) \ - && defined(HAS_STRTOULL) +#if !defined(Strtoul) && defined(HAS_LONG_LONG) && defined(HAS_STRTOULL) # define Strtoul strtoull #endif /* is there atouq() anywhere? */