Skip to content

Commit 35c2d67

Browse files
committed
Fix compilation with the various omission compile definitions
1 parent 1c6ca86 commit 35c2d67

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

miniz_zip.h

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
/* ------------------- ZIP archive reading/writing */
66

7+
#ifndef MINIZ_NO_ARCHIVE_APIS
8+
79
#ifdef __cplusplus
810
extern "C" {
911
#endif
@@ -406,3 +408,5 @@ void *mz_zip_extract_archive_file_to_heap_v2(const char *pZip_filename, const ch
406408
#ifdef __cplusplus
407409
}
408410
#endif
411+
412+
#endif /* MINIZ_NO_ARCHIVE_APIS */

0 commit comments

Comments
 (0)