summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2021-03-25 02:07:56 +0200
committerHans Kristian Rosbach <hk-github@circlestorm.org>2021-04-08 19:42:14 +0200
commitdc39b36b39f9b25d36fa76d353e9c1b9efec4e2d (patch)
tree9f60101fe3dc1746a0ff77cc370811bc10192c83
parentb2085a875b9f9a84a3d2f710fc0279b3222ce1c7 (diff)
Alias ZEXTERN, ZEXPORT and ZEXPORTVA to Z_EXTERN, Z_EXPORT and Z_EXPORTVA respectively.
-rw-r--r--zconf.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/zconf.h.in b/zconf.h.in
index fcbcbb6..ae2a309 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;