summaryrefslogtreecommitdiffstats
path: root/Utilities/cmliblzma
diff options
context:
space:
mode:
authormakise-homura <akemi_homura@kurisa.ch>2024-01-15 00:20:23 (GMT)
committermakise-homura <akemi_homura@kurisa.ch>2024-01-16 19:12:02 (GMT)
commitfa764ce311f450c61817d202095d6155c76f0251 (patch)
tree7430b836bdc825fc84c93764a22ced7591b9cd2b /Utilities/cmliblzma
parent77e046b47c8d17ec44fea8a01bd8dab39c898c6a (diff)
downloadCMake-fa764ce311f450c61817d202095d6155c76f0251.zip
CMake-fa764ce311f450c61817d202095d6155c76f0251.tar.gz
CMake-fa764ce311f450c61817d202095d6155c76f0251.tar.bz2
liblzma: Make cmliblzma buildable on LCC 1.21
Diffstat (limited to 'Utilities/cmliblzma')
-rw-r--r--Utilities/cmliblzma/common/sysdefs.h4
1 files 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 <memory.h>
#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