summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-11-13 19:48:22 (GMT)
committerGuido van Rossum <guido@python.org>2000-11-13 19:48:22 (GMT)
commitecaa77798b7004e02e5893b0da9493b25f121509 (patch)
treee33cb5d2ac8baf8ad9f9c10c55401f0e42d4f2c0 /Objects
parent128bcf4520254bc7f52ba186fa02cd1c279c7591 (diff)
downloadcpython-ecaa77798b7004e02e5893b0da9493b25f121509.zip
cpython-ecaa77798b7004e02e5893b0da9493b25f121509.tar.gz
cpython-ecaa77798b7004e02e5893b0da9493b25f121509.tar.bz2
Added _HAVE_BSDI and __APPLE__ to the list of platforms that require a
hack for TELL64()... Sounds like there's something else going on really. Does anybody have a clue I can buy?
Diffstat (limited to 'Objects')
-rw-r--r--Objects/fileobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c
index 94c5bb0..61023dc 100644
--- a/Objects/fileobject.c
+++ b/Objects/fileobject.c
@@ -58,7 +58,7 @@
/* define the appropriate 64-bit capable tell() function */
#if defined(MS_WIN64)
#define TELL64 _telli64
-#elif defined(__NetBSD__) || defined(__OpenBSD__)
+#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(_HAVE_BSDI) || defined(__APPLE__)
/* NOTE: this is only used on older
NetBSD prior to f*o() funcions */
#define TELL64(fd) lseek((fd),0,SEEK_CUR)