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 8ed9ae7d5..f37ea3519 100644 --- a/archival/unzip.c +++ b/archival/unzip.c | |||
@@ -70,6 +70,9 @@ | |||
70 | 70 | ||
71 | #include "libbb.h" | 71 | #include "libbb.h" |
72 | #include "bb_archive.h" | 72 | #include "bb_archive.h" |
73 | #if ENABLE_PLATFORM_MINGW32 && __GNUC__ | ||
74 | #pragma pack(2) | ||
75 | #endif | ||
73 | 76 | ||
74 | #if 0 | 77 | #if 0 |
75 | # define dbg(...) bb_error_msg(__VA_ARGS__) | 78 | # define dbg(...) bb_error_msg(__VA_ARGS__) |
@@ -586,7 +589,7 @@ int unzip_main(int argc, char **argv) | |||
586 | } | 589 | } |
587 | } | 590 | } |
588 | 591 | ||
589 | #ifndef __GLIBC__ | 592 | #if !defined(__GLIBC__) && !ENABLE_PLATFORM_MINGW32 |
590 | /* | 593 | /* |
591 | * This code is needed for non-GNU getopt | 594 | * This code is needed for non-GNU getopt |
592 | * which doesn't understand "-" in option string. | 595 | * which doesn't understand "-" in option string. |