diff --git a/miniz_zip.h b/miniz_zip.h index c4185ca..3440f93 100644 --- a/miniz_zip.h +++ b/miniz_zip.h @@ -4,6 +4,8 @@ /* ------------------- ZIP archive reading/writing */ +#ifndef MINIZ_NO_ARCHIVE_APIS + #ifdef __cplusplus extern "C" { #endif @@ -406,3 +408,5 @@ void *mz_zip_extract_archive_file_to_heap_v2(const char *pZip_filename, const ch #ifdef __cplusplus } #endif + +#endif /* MINIZ_NO_ARCHIVE_APIS */