diff options
-rw-r--r-- | libbb/getopt32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/getopt32.c b/libbb/getopt32.c index b5f83c127..20e1b8a8b 100644 --- a/libbb/getopt32.c +++ b/libbb/getopt32.c | |||
@@ -534,7 +534,7 @@ getopt32(char **argv, const char *applet_opts, ...) | |||
534 | * run_nofork_applet_prime() does this, but we might end up here | 534 | * run_nofork_applet_prime() does this, but we might end up here |
535 | * also via gunzip_main() -> gzip_main(). Play safe. | 535 | * also via gunzip_main() -> gzip_main(). Play safe. |
536 | */ | 536 | */ |
537 | #ifdef __GLIBC__ | 537 | #if defined(__GLIBC__) || ENABLE_PLATFORM_MINGW32 |
538 | optind = 0; | 538 | optind = 0; |
539 | #else /* BSD style */ | 539 | #else /* BSD style */ |
540 | optind = 1; | 540 | optind = 1; |