Skip to content

Commit

Permalink
Add FAR macro to zlib-compat headers to improve compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dead2 committed Jan 9, 2024
1 parent f8327aa commit 89c932b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zconf.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@
#ifndef ZEXPORTVA
# define ZEXPORTVA Z_EXPORTVA
#endif
#ifndef FAR
# define FAR
#endif

/* Legacy zlib typedefs for backwards compatibility. Don't assume stdint.h is defined. */
typedef unsigned char Byte;
Expand Down

0 comments on commit 89c932b

Please sign in to comment.