Skip to content

Commit

Permalink
Expose zlib constants for backwards compat zlib-ng#747
Browse files Browse the repository at this point in the history
Building a project that had an internal copy of minizip 1.x, but
preferring an external library, with minizip 4.x showed that the
compat layer was not exposing some constants from zlib that
minizip 1.x headers did.
  • Loading branch information
brad0 committed Dec 16, 2023
1 parent fbd8443 commit 7f76835
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mz_compat_shim.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@
This program is distributed under the terms of the same license as zlib.
See the accompanying LICENSE file for the full text of the license.
*/

#ifndef @MZ_COMPAT_FILE@
#define @MZ_COMPAT_FILE@

#include "mz_compat.h"

#endif
#ifndef ZLIB_H
#include "zlib.h"
#endif

#endif

0 comments on commit 7f76835

Please sign in to comment.