From db810ac2b80999458617977bd7b8fa7953f45b55 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Fri, 6 Oct 2000 20:42:33 +0000 Subject: [PATCH] Donn Cave : Fix large file support for BeOS. This closes SourceForge patch #101773. Refer to the patch discussion for information on possible alternate fixes. --- Objects/fileobject.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 2978d259d90..b8b47f887ad 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()*/