From: Hans Kristian Rosbach Date: Mon, 8 Jan 2024 20:34:19 +0000 (+0100) Subject: Add FAR macro to zlib-compat headers to improve compatibility. X-Git-Tag: 2.1.6~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89c932b4fa861850dfe653fc00bb98946eb13149;p=thirdparty%2Fzlib-ng.git Add FAR macro to zlib-compat headers to improve compatibility. --- diff --git a/zconf.h.in b/zconf.h.in index 074f0255..7a6e281e 100644 --- a/zconf.h.in +++ b/zconf.h.in @@ -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;