diff options
Diffstat (limited to 'archival/unzip.c')
-rw-r--r-- | archival/unzip.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/archival/unzip.c b/archival/unzip.c index 6328f4bab..4e8ed0eae 100644 --- a/archival/unzip.c +++ b/archival/unzip.c | |||
@@ -348,6 +348,9 @@ static void unzip_create_leading_dirs(const char *fn) | |||
348 | } | 348 | } |
349 | 349 | ||
350 | #if ENABLE_FEATURE_UNZIP_CDF | 350 | #if ENABLE_FEATURE_UNZIP_CDF |
351 | #if ENABLE_PLATFORM_MINGW32 | ||
352 | #define unzip_extract_symlink(s, z, d) unzip_extract_symlink(z, d) | ||
353 | #endif | ||
351 | static void unzip_extract_symlink(llist_t **symlink_placeholders, | 354 | static void unzip_extract_symlink(llist_t **symlink_placeholders, |
352 | zip_header_t *zip, | 355 | zip_header_t *zip, |
353 | const char *dst_fn) | 356 | const char *dst_fn) |
@@ -492,7 +495,7 @@ int unzip_main(int argc, char **argv) | |||
492 | llist_t *zaccept = NULL; | 495 | llist_t *zaccept = NULL; |
493 | llist_t *zreject = NULL; | 496 | llist_t *zreject = NULL; |
494 | char *base_dir = NULL; | 497 | char *base_dir = NULL; |
495 | #if ENABLE_FEATURE_UNZIP_CDF | 498 | #if ENABLE_FEATURE_UNZIP_CDF && !ENABLE_PLATFORM_MINGW32 |
496 | llist_t *symlink_placeholders = NULL; | 499 | llist_t *symlink_placeholders = NULL; |
497 | #endif | 500 | #endif |
498 | int i; | 501 | int i; |