From dff479c82f5d34b5527e1e4a4e8999107696a259 Mon Sep 17 00:00:00 2001 From: Konrad Dybcio <32096130+konradybcio@users.noreply.github.com> Date: Sat, 16 Oct 2021 00:30:22 +0200 Subject: [PATCH] [HHPCOMP] lz_nonslide.h: Define u_char on Linux (#4011) Not defining the type breaks the compilation on (at least arm) Linux. Add a check for Linux-as-build-host to make it pass. Signed-off-by: Konrad Dybcio --- sdk/tools/hhpcomp/lzx_compress/lz_nonslide.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/tools/hhpcomp/lzx_compress/lz_nonslide.h b/sdk/tools/hhpcomp/lzx_compress/lz_nonslide.h index 829697f9116..7db3f58c0d7 100644 --- a/sdk/tools/hhpcomp/lzx_compress/lz_nonslide.h +++ b/sdk/tools/hhpcomp/lzx_compress/lz_nonslide.h @@ -16,7 +16,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#if defined(_WIN32) || defined(__APPLE__) +#if defined(_WIN32) || defined(__APPLE__) || defined(__linux__) typedef unsigned char u_char; #endif