[Zlib-devel] Possible typo in zlib.h
İsmail Dönmez
ismail at namtrac.org
Sat Jun 25 11:03:29 EDT 2011
Hi all;
While trying to compile Android SDK I got a warning saying that "implicit
decleration of gzopen64 function" , I check the zlib.h and I believe there
is a typo; zlib.h line 1581 says
# ifdef _LARGEFILE64_SOURCE
ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
This looks wrong because when _LARGEFILE64_SOURCE is defined all I/O
functions are 64bit. I believe the correct code should be
# ifndef _LARGEFILE64_SOURCE
ZEXTERN gzFile ZEXPORT gzopen64 OF((const char *, const char *));
ifdef->ifndef
Any ideas?
Regards,
ismail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://madler.net/pipermail/zlib-devel_madler.net/attachments/20110625/8fe1ff89/attachment.html>
More information about the Zlib-devel
mailing list