diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-06 20:42:33 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-06 20:42:33 (GMT) |
commit | db810ac2b80999458617977bd7b8fa7953f45b55 (patch) | |
tree | 7504e7d8047b2da59228733420c243362a678d4e /Objects | |
parent | 24c532a5126f2e2f0ac9a5613ef88ac296bbd133 (diff) | |
download | cpython-db810ac2b80999458617977bd7b8fa7953f45b55.zip cpython-db810ac2b80999458617977bd7b8fa7953f45b55.tar.gz cpython-db810ac2b80999458617977bd7b8fa7953f45b55.tar.bz2 |
Donn Cave <donn@oz.net>:
Fix large file support for BeOS.
This closes SourceForge patch #101773. Refer to the patch discussion for
information on possible alternate fixes.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 2978d25..b8b47f8 100644 --- a/Objects/fileobject.c +++ b/Objects/fileobject.c @@ -254,6 +254,8 @@ _portable_fseek(FILE *fp, off_t offset, int whence) return fseeko(fp, offset, whence); #elif defined(HAVE_FSEEK64) return fseek64(fp, offset, whence); +#elif defined(__BEOS__) + return _fseek(fp, offset, whence); #elif defined(HAVE_LARGEFILE_SUPPORT) && SIZEOF_FPOS_T >= 8 /* lacking a 64-bit capable fseek() (as Win64 does) use a 64-bit capable fsetpos() and tell() to implement fseek()*/ |