diff --git a/zconf.h b/zconf.h index 5e1d68a..5953d7d 100644 --- a/zconf.h +++ b/zconf.h @@ -130,6 +130,7 @@ # define uncompress2 z_uncompress2 # endif # define zError z_zError +# define z_errmsg z_z_errmsg # ifndef Z_SOLO # define zcalloc z_zcalloc # define zcfree z_zcfree diff --git a/zconf.h.cmakein b/zconf.h.cmakein index a7f24cc..7658ad4 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein @@ -132,6 +132,7 @@ # define uncompress2 z_uncompress2 # endif # define zError z_zError +# define z_errmsg z_z_errmsg # ifndef Z_SOLO # define zcalloc z_zcalloc # define zcfree z_zcfree diff --git a/zconf.h.in b/zconf.h.in index 5e1d68a..5953d7d 100644 --- a/zconf.h.in +++ b/zconf.h.in @@ -130,6 +130,7 @@ # define uncompress2 z_uncompress2 # endif # define zError z_zError +# define z_errmsg z_z_errmsg # ifndef Z_SOLO # define zcalloc z_zcalloc # define zcfree z_zcfree