summaryrefslogtreecommitdiffstats
path: root/lib/lz4.h
diff options
context:
space:
mode:
authorW. Felix Handte <w@felixhandte.com>2018-04-11 20:31:52 (GMT)
committerW. Felix Handte <w@felixhandte.com>2018-04-11 22:06:10 (GMT)
commit3a0c571272731166774405e1f96b3161827ca09f (patch)
tree67690632031ad63fccbacbcdd2050b254ec10bef /lib/lz4.h
parentafa52c9b95dd1f83d80cd9a783a408822700e2d3 (diff)
downloadlz4-3a0c571272731166774405e1f96b3161827ca09f.zip
lz4-3a0c571272731166774405e1f96b3161827ca09f.tar.gz
lz4-3a0c571272731166774405e1f96b3161827ca09f.tar.bz2
Add a LZ4_STATIC_LINKING_ONLY Macro to Guard Experimental APIs
Diffstat (limited to 'lib/lz4.h')
-rw-r--r--lib/lz4.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/lz4.h b/lib/lz4.h
index f90120e..0dfa19e 100644
--- a/lib/lz4.h
+++ b/lib/lz4.h
@@ -353,6 +353,7 @@ LZ4LIB_API int LZ4_decompress_fast_usingDict (const char* src, char* dst, int or
* Their signatures may change.
**************************************/
+#ifdef LZ4_STATIC_LINKING_ONLY
/*! LZ4_resetStream_fast() :
* When an LZ4_stream_t is known to be in a internally coherent state,
@@ -414,6 +415,7 @@ LZ4LIB_API int LZ4_compress_fast_extState_fastReset (void* state, const char* sr
*/
LZ4LIB_API void LZ4_attach_dictionary(LZ4_stream_t *working_stream, const LZ4_stream_t *dictionary_stream);
+#endif
/*-************************************
* Private definitions