Skip to content

Commit

Permalink
Fix compilation on MS-DOS/DJGPP (kuba--#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba-- authored and thabetx committed Sep 7, 2023
1 parent 3df548c commit 72402d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zip.c
Original file line number Diff line number Diff line change
Expand Up @@ -1338,7 +1338,7 @@ int zip_entry_fwrite(struct zip_t *zip, const char *filename) {
return ZIP_ENOENT;
}

#if defined(_WIN32) || defined(__WIN32__)
#if defined(_WIN32) || defined(__WIN32__) || defined(DJGPP)
(void)modes; // unused
#else
/* Initialize with permission bits--which are not implementation-optional */
Expand Down Expand Up @@ -1673,7 +1673,7 @@ int zip_create(const char *zipname, const char *filenames[], size_t len) {
break;
}

#if defined(_WIN32) || defined(__WIN32__)
#if defined(_WIN32) || defined(__WIN32__) || defined(DJGPP)
(void)modes; // unused
#else

Expand Down

0 comments on commit 72402d9

Please sign in to comment.