From: Jarkko Hietaniemi Date: Fri, 13 Aug 1999 15:09:11 +0000 (+0000) Subject: Introduce HAS_LLSEEK. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4499d6b9d14594604210bc28005c5e4ab2e49947;p=p5sagit%2Fp5-mst-13.2.git Introduce HAS_LLSEEK. p4raw-id: //depot/cfgperl@3980 --- diff --git a/Configure b/Configure index 7124260..2bec164 100755 --- a/Configure +++ b/Configure @@ -20,7 +20,7 @@ # $Id: Head.U,v 3.0.1.9 1997/02/28 15:02:09 ram Exp $ # -# Generated on Thu Aug 12 23:48:12 EET DST 1999 [metaconfig 3.0 PL70] +# Generated on Fri Aug 13 18:08:55 EET DST 1999 [metaconfig 3.0 PL70] # (with additional metaconfig patches by perlbug@perl.com) cat >/tmp/c1$$ <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- * This symbol, if defined, indicates that the ftruncate64 routine is * available to tell files larger than 2 gigabytes. */ +/* HAS_LLSEEK: + * This symbol, if defined, indicates that the llseek routine is + * available to seek files larger than 2 gigabytes. + */ /* HAS_LSEEK64: * This symbol, if defined, indicates that the lseek64 routine is * available to seek files larger than 2 gigabytes. @@ -2459,6 +2463,7 @@ sed <config.h -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un- */ #$d_fstat64 HAS_FSTAT64 /**/ #$d_ftruncate64 HAS_FTRUNCATE64 /**/ +#$d_llseek HAS_LLSEEK /**/ #$d_lseek64 HAS_LSEEK64 /**/ #$d_lstat64 HAS_LSTAT64 /**/ #$d_open64 HAS_OPEN64 /**/ diff --git a/perl.h b/perl.h index 8192f90..6f07c7c 100644 --- a/perl.h +++ b/perl.h @@ -1372,6 +1372,10 @@ typedef union any ANY; # undef Off_t # define Off_t off64_t # endif +# else +# ifdef HAS_LLSEEK +# define lseek llseek +# endif # endif # ifdef HAS_LSTAT64 # define lstat lstat64