From fa764ce311f450c61817d202095d6155c76f0251 Mon Sep 17 00:00:00 2001 From: makise-homura Date: Mon, 15 Jan 2024 03:20:23 +0300 Subject: liblzma: Make cmliblzma buildable on LCC 1.21 --- Utilities/cmliblzma/common/sysdefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/cmliblzma/common/sysdefs.h b/Utilities/cmliblzma/common/sysdefs.h index 86c5da0..6e3495e 100644 --- a/Utilities/cmliblzma/common/sysdefs.h +++ b/Utilities/cmliblzma/common/sysdefs.h @@ -172,9 +172,9 @@ typedef unsigned char _Bool; # include #endif -// As of MSVC 2013, inline and restrict are supported with +// As of MSVC 2013 and LCC <= 1.21, inline and restrict are supported with // non-standard keywords. -#if defined(_WIN32) && defined(_MSC_VER) +#if (defined(_WIN32) && defined(_MSC_VER)) || (defined(__EDG__) && defined(__LCC__)) # ifndef inline # define inline __inline # endif -- cgit v0.12