Skip to content

Commit

Permalink
Fix compilation with the various omission compile definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
uroni committed Mar 13, 2017
1 parent 1c6ca86 commit 35c2d67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions miniz_zip.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

/* ------------------- ZIP archive reading/writing */

#ifndef MINIZ_NO_ARCHIVE_APIS

#ifdef __cplusplus
extern "C" {
#endif
Expand Down Expand Up @@ -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 */

0 comments on commit 35c2d67

Please sign in to comment.