diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-10 13:25:52 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2000-11-10 13:25:52 +0000 |
commit | c512ea76f9be6990cef1f44eb875c94f38b692b9 (patch) | |
tree | f61372b5f07b256e27af389a02fde1c75f1b9efe /perlio.c | |
parent | 0ce8d35e78f58cbe6891311a47806fcb247d44d2 (diff) | |
download | perl-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.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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; |