diff options
author | Ron Yorston <rmy@pobox.com> | 2021-09-17 09:18:58 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-09-17 11:41:25 +0100 |
commit | 9e16eecc70020e9a603d637f6a8fdfc7c95c30e1 (patch) | |
tree | 5700c068c09ad6028551449c2c9deac13b5c3b32 /win32/Kbuild | |
parent | 46299d0c4f4c9a4bbad38bbbe26f196e1bccdc52 (diff) | |
download | busybox-w32-9e16eecc70020e9a603d637f6a8fdfc7c95c30e1.tar.gz busybox-w32-9e16eecc70020e9a603d637f6a8fdfc7c95c30e1.tar.bz2 busybox-w32-9e16eecc70020e9a603d637f6a8fdfc7c95c30e1.zip |
win32: changes to allow timezones in dates
Create mingw_strptime() to return timezone offset as a separate
argument (since Microsoft's struct tm doesn't have the required
member).
Import timegm() from musl.
Update parse_datestr() to use mingw_strptime().
Enable FEATURE_TIMEZONE in the default configuration.
GitHub issue #230.
Diffstat (limited to 'win32/Kbuild')
-rw-r--r-- | win32/Kbuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/Kbuild b/win32/Kbuild index 6ab0dc077..c38a9ef4d 100644 --- a/win32/Kbuild +++ b/win32/Kbuild | |||
@@ -26,5 +26,6 @@ lib-$(CONFIG_PLATFORM_MINGW32) += strndup.o | |||
26 | lib-$(CONFIG_PLATFORM_MINGW32) += strptime.o | 26 | lib-$(CONFIG_PLATFORM_MINGW32) += strptime.o |
27 | lib-$(CONFIG_PLATFORM_MINGW32) += system.o | 27 | lib-$(CONFIG_PLATFORM_MINGW32) += system.o |
28 | lib-$(CONFIG_PLATFORM_MINGW32) += termios.o | 28 | lib-$(CONFIG_PLATFORM_MINGW32) += termios.o |
29 | lib-$(CONFIG_FEATURE_TIMEZONE) += timegm.o | ||
29 | lib-$(CONFIG_PLATFORM_MINGW32) += uname.o | 30 | lib-$(CONFIG_PLATFORM_MINGW32) += uname.o |
30 | lib-$(CONFIG_PLATFORM_MINGW32) += winansi.o | 31 | lib-$(CONFIG_PLATFORM_MINGW32) += winansi.o |