From: Vladislav Shchapov Date: Sun, 26 May 2024 13:57:14 +0000 (+0500) Subject: Improve source compatibility with zlib X-Git-Tag: 2.2.0~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=970d1abed24bc92b056e8b9a4df6f1104a95cc8f;p=thirdparty%2Fzlib-ng.git Improve source compatibility with zlib Signed-off-by: Vladislav Shchapov --- diff --git a/zlib.h.in b/zlib.h.in index 09240044..b3ddb697 100644 --- a/zlib.h.in +++ b/zlib.h.in @@ -220,7 +220,7 @@ typedef gz_header *gz_headerp; #define Z_DEFLATED 8 /* The deflate compression method (the only one supported in this version) */ -#define Z_NULL NULL /* for compatibility with zlib, was for initializing zalloc, zfree, opaque */ +#define Z_NULL 0 /* for compatibility with zlib, was for initializing zalloc, zfree, opaque */ #define zlib_version zlibVersion() /* for compatibility with versions < 1.0.2 */