Tsk, tsk, tsk. Treat FreeBSD the same as the other BSDs when defining

a fallback for TELL64.  Fixes SF Bug #128119.
This commit is contained in:
Guido van Rossum 2001-01-09 02:00:11 +00:00
parent a9586c7273
commit dcf5715db1
1 changed files with 1 additions and 1 deletions

View File

@ -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)