liblzma: Add a note why crc_always_inline exists for now.
Solaris Studio is a possible example (not tested) which supports the always_inline attribute but might not get detected by the common.h #ifdefs.
This commit is contained in:
parent
e7a86b94cd
commit
8c36ab79cb
|
@ -48,6 +48,11 @@
|
||||||
// If both __forceinline and inline are used, MSVC will issue a warning.
|
// If both __forceinline and inline are used, MSVC will issue a warning.
|
||||||
// Since MSVC's keyword is a replacement keyword, the lzma_always_inline
|
// Since MSVC's keyword is a replacement keyword, the lzma_always_inline
|
||||||
// macro must also contain the inline keyword when its not used in MSVC.
|
// macro must also contain the inline keyword when its not used in MSVC.
|
||||||
|
//
|
||||||
|
// NOTE: This doesn't use lzma_always_inline for now as support for it is
|
||||||
|
// detected using preprocessor macros which might miss a compiler that
|
||||||
|
// does support it. All compilers that support the CLMUL code support
|
||||||
|
// the attribute too; if not, we will hopefully get a bug report.
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# define crc_always_inline __forceinline
|
# define crc_always_inline __forceinline
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue