Skip to content

Commit

Permalink
Alias ZEXTERN, ZEXPORT and ZEXPORTVA to Z_EXTERN, Z_EXPORT and Z_EXPO…
Browse files Browse the repository at this point in the history
…RTVA respectively.
  • Loading branch information
mtl1979 authored and Dead2 committed Apr 8, 2021
1 parent b2085a8 commit dc39b36
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions zconf.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dc39b36

Please sign in to comment.