diff options
author | Guido van Rossum <guido@python.org> | 2001-01-09 02:00:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-09 02:00:11 (GMT) |
commit | dcf5715db180e09e2ce150e42ce3a6fb4b1b1888 (patch) | |
tree | 49ca8493d2bb64e906a3990c8e7e024f72dd1a0c /Objects | |
parent | a9586c7273f99b4923dfbbd841c1e3a9c29cb935 (diff) | |
download | cpython-dcf5715db180e09e2ce150e42ce3a6fb4b1b1888.zip cpython-dcf5715db180e09e2ce150e42ce3a6fb4b1b1888.tar.gz cpython-dcf5715db180e09e2ce150e42ce3a6fb4b1b1888.tar.bz2 |
Tsk, tsk, tsk. Treat FreeBSD the same as the other BSDs when defining
a fallback for TELL64. Fixes SF Bug #128119.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/fileobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/fileobject.c b/Objects/fileobject.c index 43b311e..430ec46 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__) || defined(_HAVE_BSDI) || defined(__APPLE__) +#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD__) || 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) |