From dc39b36b39f9b25d36fa76d353e9c1b9efec4e2d Mon Sep 17 00:00:00 2001 From: Mika Lindqvist Date: Thu, 25 Mar 2021 02:07:56 +0200 Subject: [PATCH] Alias ZEXTERN, ZEXPORT and ZEXPORTVA to Z_EXTERN, Z_EXPORT and Z_EXPORTVA respectively. --- zconf.h.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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; -- 2.47.2