liblzma: Make cmliblzma buildable on LCC 1.21

This commit is contained in:
makise-homura
2024-01-15 03:20:23 +03:00
parent 77e046b47c
commit fa764ce311

View File

@@ -172,9 +172,9 @@ typedef unsigned char _Bool;
# include <memory.h> # include <memory.h>
#endif #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. // non-standard keywords.
#if defined(_WIN32) && defined(_MSC_VER) #if (defined(_WIN32) && defined(_MSC_VER)) || (defined(__EDG__) && defined(__LCC__))
# ifndef inline # ifndef inline
# define inline __inline # define inline __inline
# endif # endif