diff options
Diffstat (limited to 'coreutils/date.c')
-rw-r--r-- | coreutils/date.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/coreutils/date.c b/coreutils/date.c index 4860aa308..767e0d4a2 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -293,14 +293,9 @@ int date_main(int argc UNUSED_PARAM, char **argv) | |||
293 | maybe_set_utc(opt); | 293 | maybe_set_utc(opt); |
294 | 294 | ||
295 | /* if setting time, set it */ | 295 | /* if setting time, set it */ |
296 | #if ENABLE_PLATFORM_MINGW32 | ||
297 | if (opt & OPT_SET) | ||
298 | bb_error_msg_and_die("Setting date is not supported"); | ||
299 | #else | ||
300 | if ((opt & OPT_SET) && stime(&ts.tv_sec) < 0) { | 296 | if ((opt & OPT_SET) && stime(&ts.tv_sec) < 0) { |
301 | bb_perror_msg("can't set date"); | 297 | bb_perror_msg("can't set date"); |
302 | } | 298 | } |
303 | #endif | ||
304 | } | 299 | } |
305 | 300 | ||
306 | /* Display output */ | 301 | /* Display output */ |