diff options
author | Yann Collet <cyan@fb.com> | 2019-05-29 19:21:14 (GMT) |
---|---|---|
committer | Yann Collet <cyan@fb.com> | 2019-05-29 19:21:14 (GMT) |
commit | 444550defad26bcbe2e62209badbba76e803e521 (patch) | |
tree | 25e5f69deb29eaf3d17d3119430c2aac539e3d9a /lib/lz4hc.h | |
parent | b17f578a919b7e6b078cede2d52be29dd48c8e8c (diff) | |
download | lz4-444550defad26bcbe2e62209badbba76e803e521.zip lz4-444550defad26bcbe2e62209badbba76e803e521.tar.gz lz4-444550defad26bcbe2e62209badbba76e803e521.tar.bz2 |
ensure lz4.h can be included with or without LZ4_STATIC_LINKING_ONLY in any order
ensure correct propagation of LZ4_DISTANCE_MAX
Diffstat (limited to 'lib/lz4hc.h')
-rw-r--r-- | lib/lz4hc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/lz4hc.h b/lib/lz4hc.h index cdc6d89..44e35bb 100644 --- a/lib/lz4hc.h +++ b/lib/lz4hc.h @@ -336,6 +336,9 @@ LZ4LIB_API void LZ4_resetStreamHC (LZ4_streamHC_t* streamHCPtr, int compressionL #ifndef LZ4_HC_SLO_098092834 #define LZ4_HC_SLO_098092834 +#define LZ4_STATIC_LINKING_ONLY /* LZ4LIB_STATIC_API */ +#include "lz4.h" + #if defined (__cplusplus) extern "C" { #endif |