This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ce8d35
)
Re-instate stdio large file support via perlio.
author
Nick Ing-Simmons
<nik@tiuk.ti.com>
Fri, 10 Nov 2000 13:25:52 +0000
(13:25 +0000)
committer
Nick Ing-Simmons
<nik@tiuk.ti.com>
Fri, 10 Nov 2000 13:25:52 +0000
(13:25 +0000)
p4raw-id: //depot/perl@7635
perlio.c
patch
|
blob
|
blame
|
history
diff --git
a/perlio.c
b/perlio.c
index
1b5bd76
..
e372aed
100644
(file)
--- 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;