mirror of
https://github.com/darlinghq/darling-zlib.git
synced 2024-11-30 07:10:39 +00:00
62d6112a79
This patch allows zlib to compile cleanly with the -Wcast-qual gcc warning enabled, but only if ZLIB_CONST is defined, which adds const to next_in and msg in z_stream and in the in_func prototype. A --const option is added to ./configure which adds -DZLIB_CONST to the compile flags, and adds -Wcast-qual to the compile flags when ZLIBGCCWARN is set in the environment. |
||
---|---|---|
.. | ||
infback9.c | ||
infback9.h | ||
inffix9.h | ||
inflate9.h | ||
inftree9.c | ||
inftree9.h | ||
README |
See infback9.h for what this is and how to use it.