Someone with BSDs, please test this!
- Importing should now be safe with multiple Py_Initialize/Py_Finalize
sequences.
+- Add TELL64() hack #ifdef to FreeBSD, Apple and BSDI
What's New in Python 2.0?
=========================
/* 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(__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)