diff options
Diffstat (limited to 'programs')
-rw-r--r-- | programs/frametest.c | 9 | ||||
-rw-r--r-- | programs/fuzzer.c | 11 |
2 files changed, 11 insertions, 9 deletions
diff --git a/programs/frametest.c b/programs/frametest.c index 46ec030..6f9ee39 100644 --- a/programs/frametest.c +++ b/programs/frametest.c @@ -1,6 +1,6 @@ /* frameTest - test tool for lz4frame - Copyright (C) Yann Collet 2014-2015 + Copyright (C) Yann Collet 2014-2016 GPL v2 License @@ -19,11 +19,11 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. You can contact the author at : + - LZ4 homepage : http://www.lz4.org - LZ4 source repository : https://github.com/Cyan4973/lz4 - - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c */ -/************************************** +/*-************************************ * Compiler specific **************************************/ #ifdef _MSC_VER /* Visual Studio */ @@ -37,13 +37,14 @@ #endif -/************************************** +/*-************************************ * Includes **************************************/ #include <stdlib.h> /* malloc, free */ #include <stdio.h> /* fprintf */ #include <string.h> /* strcmp */ #include "lz4frame_static.h" +#define XXH_STATIC_LINKING_ONLY #include "xxhash.h" /* XXH64 */ /* Use ftime() if gettimeofday() is not available on your target */ diff --git a/programs/fuzzer.c b/programs/fuzzer.c index f1da1a8..60fd64f 100644 --- a/programs/fuzzer.c +++ b/programs/fuzzer.c @@ -1,6 +1,6 @@ /* fuzzer.c - Fuzzer test tool for LZ4 - Copyright (C) Yann Collet 2012-2015 + Copyright (C) Yann Collet 2012-2016 GPL v2 License @@ -19,11 +19,11 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. You can contact the author at : - - LZ4 source mirror : https://github.com/Cyan4973/lz4 - - LZ4 public forum : https://groups.google.com/forum/#!forum/lz4c + - LZ4 homepage : http://www.lz4.org + - LZ4 source repo : https://github.com/Cyan4973/lz4 */ -/************************************** +/*-************************************ * Compiler options **************************************/ #ifdef _MSC_VER /* Visual Studio */ @@ -39,7 +39,7 @@ #endif -/************************************** +/*-************************************ * Includes **************************************/ #include <stdlib.h> @@ -47,6 +47,7 @@ #include <string.h> /* strcmp */ #include "lz4.h" #include "lz4hc.h" +#define XXH_STATIC_LINKING_ONLY #include "xxhash.h" /* Use ftime() if gettimeofday() is not available on your target */ |