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 71a302915..7b945c250 100644 --- a/archival/unzip.c +++ b/archival/unzip.c | |||
@@ -72,6 +72,9 @@ | |||
72 | 72 | ||
73 | #include "libbb.h" | 73 | #include "libbb.h" |
74 | #include "bb_archive.h" | 74 | #include "bb_archive.h" |
75 | #if ENABLE_PLATFORM_MINGW32 && __GNUC__ | ||
76 | #pragma pack(2) | ||
77 | #endif | ||
75 | 78 | ||
76 | #if 0 | 79 | #if 0 |
77 | # define dbg(...) bb_error_msg(__VA_ARGS__) | 80 | # define dbg(...) bb_error_msg(__VA_ARGS__) |
@@ -634,7 +637,7 @@ int unzip_main(int argc, char **argv) | |||
634 | } | 637 | } |
635 | } | 638 | } |
636 | 639 | ||
637 | #ifndef __GLIBC__ | 640 | #if !defined(__GLIBC__) && !ENABLE_PLATFORM_MINGW32 |
638 | /* | 641 | /* |
639 | * This code is needed for non-GNU getopt | 642 | * This code is needed for non-GNU getopt |
640 | * which doesn't understand "-" in option string. | 643 | * which doesn't understand "-" in option string. |