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_INFLATE_APIS
#ifdef __cplusplus
extern "C" {
#endif
@@ -738,3 +740,5 @@ void tinfl_decompressor_free(tinfl_decompressor *pDecomp)
#ifdef __cplusplus
}
#endif
#endif /*#ifndef MINIZ_NO_INFLATE_APIS*/