summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorNick Ing-Simmons <nik@tiuk.ti.com>2000-11-10 13:25:52 +0000
committerNick Ing-Simmons <nik@tiuk.ti.com>2000-11-10 13:25:52 +0000
commitc512ea76f9be6990cef1f44eb875c94f38b692b9 (patch)
treef61372b5f07b256e27af389a02fde1c75f1b9efe /perlio.c
parent0ce8d35e78f58cbe6891311a47806fcb247d44d2 (diff)
downloadperl-c512ea76f9be6990cef1f44eb875c94f38b692b9.tar.gz
Re-instate stdio large file support via perlio.
p4raw-id: //depot/perl@7635
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/perlio.c b/perlio.c
index 1b5bd76a08..e372aedbe9 100644
--- a/perlio.c
+++ b/perlio.c
@@ -1037,6 +1037,15 @@ PerlIO_funcs PerlIO_unix = {
/*--------------------------------------------------------------------------------------*/
/* stdio as a layer */
+#if defined(USE_64_BIT_STDIO) && defined(HAS_FSEEKO) && !defined(USE_FSEEK64)
+#define fseek fseeko
+#endif
+
+#if defined(USE_64_BIT_STDIO) && defined(HAS_FTELLO) && !defined(USE_FTELL64)
+#define ftell ftello
+#endif
+
+
typedef struct
{
struct _PerlIO base;