From: remittor Date: Tue, 6 Oct 2020 14:16:43 +0000 (+0300) Subject: Fix: The "inline" specifier do not use for LZ4_wildCopy8 and LZ4_wildCopy32 X-Git-Tag: upstream/1.9.3~1^2~19^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c4792cdfa917911bea91ebf245e02a1a4b9038c6;p=platform%2Fupstream%2Flz4.git 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". --- diff --git a/lib/lz4.c b/lib/lz4.c index 0290ea2..1d08e10 100644 --- a/lib/lz4.c +++ b/lib/lz4.c @@ -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__)