[Compiler-sig] Compiler Error Under BSDI 4.1
Guido van Rossum
guido@python.org
Mon, 30 Oct 2000 13:56:25 -0500
Wrong list, but I'll reply anyway. :-)
> Does anyone have a quick and dirty fix to let me get 2.0 compiled.
>
> My c skills are way too rusty to attack this in the limited time I
> have available.
>
> >From Objects/fileobject.c
>
> ...
>
> /* define the appropriate 64-bit capable tell() function */
> #if defined(MS_WIN64)
> #define TELL64 _telli64
> #elif defined(__NetBSD__) || defined(__OpenBSD__)
> /* NOTE: this is only used on older
> NetBSD prior to f*o() funcions */
> #define TELL64(fd) lseek((fd),0,SEEK_CUR)
> #endif
Add || defined(_HAVE_BSDI) to the #elif line, making it:
#elif defined(__NetBSD__) || defined(__OpenBSD__) || defined(_HAVE_BSDI)
--Guido van Rossum (home page: http://www.python.org/~guido/)