diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2002-12-18 02:08:12 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2002-12-18 02:08:12 +0000 |
commit | 4a9d61009ab1e3df94ef4ecfcc453c9ce73010a4 (patch) | |
tree | 5bb486e54adfa3de89ac2448576a0f0d61f72722 /win32/win32iop.h | |
parent | 87755fa7011638e8ad4f4be9619e28e676b74d12 (diff) | |
download | perl-4a9d61009ab1e3df94ef4ecfcc453c9ce73010a4.tar.gz |
windows: support for large files
note that this change will break binary compatibility with the
default 5.8.0 build options; nevertheless I think it is worth
having in 5.8.1 (people who want the compatibility can disable
the option in the makefile)
p4raw-id: //depot/perl@18327
Diffstat (limited to 'win32/win32iop.h')
-rw-r--r-- | win32/win32iop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/win32iop.h b/win32/win32iop.h index 52c59b45b5..e835b2eea6 100644 --- a/win32/win32iop.h +++ b/win32/win32iop.h @@ -77,6 +77,7 @@ DllExport PerlIO* win32_popenlist(const char *mode, IV narg, SV **args); DllExport int win32_pclose( PerlIO *pf); DllExport int win32_rename( const char *oname, const char *newname); DllExport int win32_setmode( int fd, int mode); +DllExport int win32_chsize(int fd, Off_t size); DllExport Off_t win32_lseek( int fd, Off_t offset, int origin); DllExport Off_t win32_tell( int fd); DllExport int win32_dup( int fd); @@ -236,6 +237,7 @@ END_EXTERN_C #define longpath(pth) win32_longpath(pth) #define rename(old,new) win32_rename(old,new) #define setmode(fd,mode) win32_setmode(fd,mode) +#define chsize(fd,sz) win32_chsize(fd,sz) #define lseek(fd,offset,orig) win32_lseek(fd,offset,orig) #define tell(fd) win32_tell(fd) #define dup(fd) win32_dup(fd) |