https://git.reactos.org/?p=reactos.git;a=commitdiff;h=dff479c82f5d34b5527e1e4a4e8999107696a259

commit dff479c82f5d34b5527e1e4a4e8999107696a259
Author:     Konrad Dybcio <[email protected]>
AuthorDate: Sat Oct 16 00:30:22 2021 +0200
Commit:     GitHub <[email protected]>
CommitDate: Sat Oct 16 01:30:22 2021 +0300

    [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 <[email protected]>
---
 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
 

Reply via email to