mirror of
https://github.com/python/cpython.git
synced 2025-10-10 17:02:46 +00:00
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?
This commit is contained in:
parent
128bcf4520
commit
ecaa77798b
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@
|
||||||
/* define the appropriate 64-bit capable tell() function */
|
/* define the appropriate 64-bit capable tell() function */
|
||||||
#if defined(MS_WIN64)
|
#if defined(MS_WIN64)
|
||||||
#define TELL64 _telli64
|
#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
|
/* NOTE: this is only used on older
|
||||||
NetBSD prior to f*o() funcions */
|
NetBSD prior to f*o() funcions */
|
||||||
#define TELL64(fd) lseek((fd),0,SEEK_CUR)
|
#define TELL64(fd) lseek((fd),0,SEEK_CUR)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue