diff options
author | remittor <remittor@gmail.com> | 2020-10-06 14:16:43 (GMT) |
---|---|---|
committer | remittor <remittor@gmail.com> | 2020-10-06 14:16:43 (GMT) |
commit | c4792cdfa917911bea91ebf245e02a1a4b9038c6 (patch) | |
tree | 2a73bd23def58a1004716541dae677c71e9a9a4d /lib | |
parent | d1414fd5524a70d47656e0fceb58ee10dc573b75 (diff) | |
download | lz4-c4792cdfa917911bea91ebf245e02a1a4b9038c6.zip lz4-c4792cdfa917911bea91ebf245e02a1a4b9038c6.tar.gz lz4-c4792cdfa917911bea91ebf245e02a1a4b9038c6.tar.bz2 |
Fix: The "inline" specifier do not use for LZ4_wildCopy8 and LZ4_wildCopy32
This problem was reproduced on MSVC 2015 (32-bit). Both functions were called using the operator "call".
Diffstat (limited to 'lib')
-rw-r--r-- | lib/lz4.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -162,7 +162,7 @@ # define LZ4_FORCE_O2_INLINE_GCC_PPC64LE __attribute__((optimize("O2"))) LZ4_FORCE_INLINE #else # define LZ4_FORCE_O2_GCC_PPC64LE -# define LZ4_FORCE_O2_INLINE_GCC_PPC64LE static +# define LZ4_FORCE_O2_INLINE_GCC_PPC64LE LZ4_FORCE_INLINE #endif #if (defined(__GNUC__) && (__GNUC__ >= 3)) || (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 800)) || defined(__clang__) |