Add MINIZ_NO_DEFLATE_APIS and MINIZ_NO_INFLATE_APIS

This commit is contained in:
Cameron Cawley
2021-07-20 15:21:19 +01:00
parent 08f2c2d7e3
commit 9b89689723
7 changed files with 54 additions and 2 deletions

View File

@@ -26,6 +26,8 @@
#include "miniz.h"
#ifndef MINIZ_NO_DEFLATE_APIS
#ifdef __cplusplus
extern "C" {
#endif
@@ -1575,3 +1577,5 @@ void tdefl_compressor_free(tdefl_compressor *pComp)
#ifdef __cplusplus
}
#endif
#endif /*#ifndef MINIZ_NO_DEFLATE_APIS*/