Re-instate stdio large file support via perlio.
Nick Ing-Simmons [Fri, 10 Nov 2000 13:25:52 +0000 (13:25 +0000)]
p4raw-id: //depot/perl@7635

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;