diff options
author | Yann Collet <cyan@fb.com> | 2019-04-04 19:47:36 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2019-04-04 19:47:36 (GMT) |
commit | 7a39fb8fb69a47486b91810708bbe796331b26a2 (patch) | |
tree | 84216dd40a46c7d5728827ceaec64130022654e5 /examples | |
parent | ab913005093cb77d2efc430ba50636c2b8dea8d0 (diff) | |
download | lz4-7a39fb8fb69a47486b91810708bbe796331b26a2.zip lz4-7a39fb8fb69a47486b91810708bbe796331b26a2.tar.gz lz4-7a39fb8fb69a47486b91810708bbe796331b26a2.tar.bz2 |
make `_fast*()` decoder generate a deprecation warning
updated modification
Diffstat (limited to 'examples')
-rw-r--r-- | examples/compress_functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/compress_functions.c b/examples/compress_functions.c index 41d3c8c..7fd6775 100644 --- a/examples/compress_functions.c +++ b/examples/compress_functions.c @@ -60,6 +60,7 @@ #define _POSIX_C_SOURCE 199309L /* Includes, for Power! */ +#define LZ4_DISABLE_DEPRECATE_WARNINGS /* LZ4_decompress_fast */ #include "lz4.h" #include <stdio.h> /* for printf() */ #include <stdlib.h> /* for exit() */ |