liblzma: Revise conditions for LCC
Revise commit fa764ce311
(liblzma: Make cmliblzma buildable on LCC 1.21,
2024-01-15, v3.29.0-rc1~113^2~4) to reduce conflicts with upstream.
This commit is contained in:
parent
f0e3f57896
commit
bfa489b933
@ -172,9 +172,16 @@ typedef unsigned char _Bool;
|
|||||||
# include <memory.h>
|
# include <memory.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// As of MSVC 2013 and LCC <= 1.21, inline and restrict are supported with
|
// As of MSVC 2013, inline and restrict are supported with
|
||||||
// non-standard keywords.
|
// non-standard keywords.
|
||||||
#if (defined(_WIN32) && defined(_MSC_VER)) || (defined(__EDG__) && defined(__LCC__))
|
#if defined(_WIN32) && defined(_MSC_VER)
|
||||||
|
# ifndef inline
|
||||||
|
# define inline __inline
|
||||||
|
# endif
|
||||||
|
# ifndef restrict
|
||||||
|
# define restrict __restrict
|
||||||
|
# endif
|
||||||
|
#elif defined(__EDG__) && defined(__LCC__)
|
||||||
# ifndef inline
|
# ifndef inline
|
||||||
# define inline __inline
|
# define inline __inline
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user