]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Alias ZEXTERN, ZEXPORT and ZEXPORTVA to Z_EXTERN, Z_EXPORT and Z_EXPORTVA respectively.
authorMika Lindqvist <postmaster@raasu.org>
Thu, 25 Mar 2021 00:07:56 +0000 (02:07 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Thu, 8 Apr 2021 17:42:14 +0000 (19:42 +0200)
zconf.h.in

index fcbcbb6b15a4f935258995e564009c16f3be2f69..ae2a30939825d67de1502e9bc5e20cbc89fde74e 100644 (file)
 #  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;