diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-13 15:09:11 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 1999-08-13 15:09:11 +0000 |
commit | 4499d6b9d14594604210bc28005c5e4ab2e49947 (patch) | |
tree | 3b305e65b392446ff621a8150c710b342ebb7076 | |
parent | ebd8c45cb71addf3d8b647dc8bb0cf8a7de9822e (diff) | |
download | perl-4499d6b9d14594604210bc28005c5e4ab2e49947.tar.gz |
Introduce HAS_LLSEEK.
p4raw-id: //depot/cfgperl@3980
-rwxr-xr-x | Configure | 2 | ||||
-rw-r--r-- | config_h.SH | 5 | ||||
-rw-r--r-- | perl.h | 4 |
3 files changed, 10 insertions, 1 deletions
@@ -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$$ <<EOF diff --git a/config_h.SH b/config_h.SH index f0643dadd3..d69c8b6ce2 100644 --- a/config_h.SH +++ b/config_h.SH @@ -2415,6 +2415,10 @@ sed <<!GROK!THIS! >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 <<!GROK!THIS! >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 /**/ @@ -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 |