From e1283c7991b9b55348480dd114af1aa47410811b Mon Sep 17 00:00:00 2001 From: Takayuki MATSUOKA Date: Wed, 15 Apr 2015 00:19:13 +0900 Subject: [PATCH] Fix LZ4_DEPRECATED() for older/non-gcc/clang/MSVC compilers --- lib/lz4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lz4.h b/lib/lz4.h index e831055..98296e9 100644 --- a/lib/lz4.h +++ b/lib/lz4.h @@ -297,7 +297,7 @@ int LZ4_decompress_fast_usingDict (const char* source, char* dest, int originalS # define LZ4_DEPRECATED(message) __declspec(deprecated(message)) # else # pragma message("WARNING: You need to implement LZ4_DEPRECATED for this compiler") -# define LZ4_DEPRECATED +# define LZ4_DEPRECATED(message) # endif #endif // LZ4_DEPRECATE_WARNING_DEFBLOCK -- 2.7.4