mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-20 05:12:07 -05:00
liblzma: Make cmliblzma buildable on LCC 1.21
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user