Skip to content

Commit

Permalink
Define Z_DEFLATED if not already defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed May 4, 2020
1 parent f834045 commit 1003c86
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mz_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ typedef struct
#define ZIP_BADZIPFILE (-103)
#define ZIP_INTERNALERROR (-104)

#ifndef Z_DEFLATED
#define Z_DEFLATED (8)
#endif
#define Z_BZIP2ED (12)

#define APPEND_STATUS_CREATE (0)
Expand Down

0 comments on commit 1003c86

Please sign in to comment.