diff options
author | Ron Yorston <rmy@pobox.com> | 2020-04-11 10:40:15 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2020-04-11 10:48:23 +0100 |
commit | 10e14d5ebdfdfe3acd1cd60692d9cffd07de04e2 (patch) | |
tree | acb2fb4efd191a71563ae2a5d8e7ba707ca31f71 | |
parent | 4e2a8f454acabca58c4d3aee607732d16b50281c (diff) | |
download | busybox-w32-FRP-3445-g10e14d5eb.tar.gz busybox-w32-FRP-3445-g10e14d5eb.tar.bz2 busybox-w32-FRP-3445-g10e14d5eb.zip |
Fix POSIX buildFRP-3445-g10e14d5eb
-rw-r--r-- | miscutils/time.c | 2 | ||||
-rw-r--r-- | shell/ash.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/miscutils/time.c b/miscutils/time.c index eace390e6..dcc3a5b4c 100644 --- a/miscutils/time.c +++ b/miscutils/time.c | |||
@@ -464,7 +464,7 @@ int time_main(int argc UNUSED_PARAM, char **argv) | |||
464 | int opt; | 464 | int opt; |
465 | int ex; | 465 | int ex; |
466 | enum { | 466 | enum { |
467 | #if ENABLE_PLATFORM_MINGW32 | 467 | #if !ENABLE_PLATFORM_MINGW32 |
468 | OPT_v = (1 << 0), | 468 | OPT_v = (1 << 0), |
469 | OPT_p = (1 << 1), | 469 | OPT_p = (1 << 1), |
470 | OPT_a = (1 << 2), | 470 | OPT_a = (1 << 2), |
diff --git a/shell/ash.c b/shell/ash.c index 6a03ef6b4..ca8acd705 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -14242,7 +14242,7 @@ find_command(char *name, struct cmdentry *entry, int act, const char *path) | |||
14242 | #if ENABLE_PLATFORM_MINGW32 | 14242 | #if ENABLE_PLATFORM_MINGW32 |
14243 | if (strchr(name, '/') || strchr(name, '\\') || has_dos_drive_prefix(name)) { | 14243 | if (strchr(name, '/') || strchr(name, '\\') || has_dos_drive_prefix(name)) { |
14244 | #else | 14244 | #else |
14245 | if (strchr(name, '/' != NULL) { | 14245 | if (strchr(name, '/') != NULL) { |
14246 | #endif | 14246 | #endif |
14247 | entry->u.index = -1; | 14247 | entry->u.index = -1; |
14248 | if (act & DO_ABS) { | 14248 | if (act & DO_ABS) { |