From: Mika Lindqvist Date: Thu, 25 Mar 2021 00:07:56 +0000 (+0200) Subject: Alias ZEXTERN, ZEXPORT and ZEXPORTVA to Z_EXTERN, Z_EXPORT and Z_EXPORTVA respectively. X-Git-Tag: 2.0.3~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc39b36b39f9b25d36fa76d353e9c1b9efec4e2d;p=thirdparty%2Fzlib-ng.git Alias ZEXTERN, ZEXPORT and ZEXPORTVA to Z_EXTERN, Z_EXPORT and Z_EXPORTVA respectively. --- diff --git a/zconf.h.in b/zconf.h.in index fcbcbb6b..ae2a3093 100644 --- a/zconf.h.in +++ b/zconf.h.in @@ -102,6 +102,18 @@ # define Z_EXPORTVA #endif +/* For backwards compatibility */ + +#ifndef ZEXTERN +# define ZEXTERN Z_EXTERN +#endif +#ifndef ZEXPORT +# define ZEXPORT Z_EXPORT +#endif +#ifndef ZEXPORTVA +# define ZEXPORTVA Z_EXPORTVA +#endif + /* Fallback for something that includes us. */ typedef unsigned char Byte; typedef Byte Bytef;