summaryrefslogtreecommitdiffstats
path: root/lz4.c
diff options
context:
space:
mode:
authoryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2012-11-30 13:23:36 (GMT)
committeryann.collet.73@gmail.com <yann.collet.73@gmail.com@650e7d94-2a16-8b24-b05c-7c0b3f6821cd>2012-11-30 13:23:36 (GMT)
commitffb27d4eca6bd80c068e745388faa31a0982115c (patch)
treee757f211b19929628b6d50e31e7b23a6ef343f35 /lz4.c
parent43a03b41b26817a034301c54546638267462ecec (diff)
downloadlz4-ffb27d4eca6bd80c068e745388faa31a0982115c.zip
lz4-ffb27d4eca6bd80c068e745388faa31a0982115c.tar.gz
lz4-ffb27d4eca6bd80c068e745388faa31a0982115c.tar.bz2
LZ4 HC : extended detection window. Thanks to Adrien Grand.
Fuzzer : more tests cases lz4demo : detect write errors. Thanks to Dima Tisnek bench.c : compatibility with Solaris 64. Thanks to Thorbjørn Willoch LZ4_compressBound() : now both in inline function and macro format. Thanks to Jacob Gorm Hansen git-svn-id: https://lz4.googlecode.com/svn/trunk@84 650e7d94-2a16-8b24-b05c-7c0b3f6821cd
Diffstat (limited to 'lz4.c')
-rw-r--r--lz4.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lz4.c b/lz4.c
index 75dc64a..a651748 100644
--- a/lz4.c
+++ b/lz4.c
@@ -91,7 +91,7 @@
//**************************************
// Compiler Options
//**************************************
-#if __STDC_VERSION__ >= 199901L // C99
+#if __STDC_VERSION__ >= 199901L // C99
/* "restrict" is a known keyword */
#else
# define restrict // Disable restrict
@@ -100,7 +100,6 @@
#define GCC_VERSION (__GNUC__ * 100 + __GNUC_MINOR__)
#ifdef _MSC_VER // Visual Studio
-# define inline __forceinline // Visual is not C99, but supports some kind of inline
# include <intrin.h> // For Visual 2005
# if LZ4_ARCH64 // 64-bit
# pragma intrinsic(_BitScanForward64) // For Visual 2005