summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-13 15:09:11 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-13 15:09:11 +0000
commit4499d6b9d14594604210bc28005c5e4ab2e49947 (patch)
tree3b305e65b392446ff621a8150c710b342ebb7076
parentebd8c45cb71addf3d8b647dc8bb0cf8a7de9822e (diff)
downloadperl-4499d6b9d14594604210bc28005c5e4ab2e49947.tar.gz
Introduce HAS_LLSEEK.
p4raw-id: //depot/cfgperl@3980
-rwxr-xr-xConfigure2
-rw-r--r--config_h.SH5
-rw-r--r--perl.h4
3 files changed, 10 insertions, 1 deletions
diff --git a/Configure b/Configure
index 7124260509..2bec164a85 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$$ <<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 /**/
diff --git a/perl.h b/perl.h
index 8192f905f2..6f07c7cc0f 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