From fba6aed175676673d869d03c3bbf2e3c4f23c5ed Mon Sep 17 00:00:00 2001 From: Yann Collet Date: Mon, 18 Jan 2016 12:03:27 +0100 Subject: [PATCH] changed : ZSTD_LEGACY_SUPPORT set to 0 by default within `zstd_decompress.c` (#113) --- lib/zstd.h | 2 +- lib/zstd_decompress.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/zstd.h b/lib/zstd.h index f7d364ad..695d26db 100644 --- a/lib/zstd.h +++ b/lib/zstd.h @@ -44,7 +44,7 @@ extern "C" { /* *************************************************************** -* Tuning parameters +* Export parameters *****************************************************************/ /*! * ZSTD_DLL_EXPORT : diff --git a/lib/zstd_decompress.c b/lib/zstd_decompress.c index d11f6500..cf68b1c1 100644 --- a/lib/zstd_decompress.c +++ b/lib/zstd_decompress.c @@ -44,10 +44,10 @@ /*! * LEGACY_SUPPORT : -* ZSTD_decompress() can decode older formats (starting from zstd 0.1+) +* ZSTD_decompress() can decode older formats (v0.1+) if set to 1 */ #ifndef ZSTD_LEGACY_SUPPORT -# define ZSTD_LEGACY_SUPPORT 1 +# define ZSTD_LEGACY_SUPPORT 0 #endif