[Zlib-devel] Changing zconf.h
Andrei Polushin
a-polushin at mail.ru
Tue May 16 04:41:17 EDT 2006
William A. Rowe, Jr. wrote:
> Cosmin Truta wrote:
>> William A. Rowe, Jr. wrote:
>>> Yes - if there were a private, uninstalled zprivate.h file that was
>>> not distributed, source-macros are a healthy solution, but putting
>>> such macros in the public headers is wrong for reasons identified.
>> Well, then there's zutil.h, and, among other things, it's used to work
>> around standard C holes. So these macros can be moved from zconf.h to
>> zutil.h, and that one is private.
> Just as a case in point, zutil.h isn't always private ;-( We need it,
> for example, to decide which OS_CODE a bytestream follows
And neither "example.c" nor "minigzip.c" can include private zlib
headers, because they are somehow public examples.
--
Andrei Polushin
More information about the Zlib-devel
mailing list