diff options
author | Mika Lindqvist <postmaster@raasu.org> | 2021-03-25 02:07:56 +0200 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2021-04-08 19:42:14 +0200 |
commit | dc39b36b39f9b25d36fa76d353e9c1b9efec4e2d (patch) | |
tree | 9f60101fe3dc1746a0ff77cc370811bc10192c83 | |
parent | b2085a875b9f9a84a3d2f710fc0279b3222ce1c7 (diff) |
Alias ZEXTERN, ZEXPORT and ZEXPORTVA to Z_EXTERN, Z_EXPORT and Z_EXPORTVA respectively.
-rw-r--r-- | zconf.h.in | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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; |