[Image-SIG] Compiling PIL 64 bit

Anand.Kumria@eBioinformatics.com Anand.Kumria@eBioinformatics.com
Fri, 10 Dec 1999 11:44:49 +1100 (EST)


If you need to compile PIL on a 64 bit architectures then you will
probably want to add:

#include <unistd.h>

to encode.c (it uses the write syscall) if you are also using zlib.

zlib pulls in that header (unistd) and since on 64 bit architectures the
return type is defined (eventually) as long is conflicts with the
implicit int return value of write that a c compiler assumes.

Anand

PS : I am not subscribed to this list, so please CC any email to me