aboutsummaryrefslogtreecommitdiff
path: root/win32/Kbuild
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-09-17 09:18:58 +0100
committerRon Yorston <rmy@pobox.com>2021-09-17 11:41:25 +0100
commit9e16eecc70020e9a603d637f6a8fdfc7c95c30e1 (patch)
tree5700c068c09ad6028551449c2c9deac13b5c3b32 /win32/Kbuild
parent46299d0c4f4c9a4bbad38bbbe26f196e1bccdc52 (diff)
downloadbusybox-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/Kbuild1
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
26lib-$(CONFIG_PLATFORM_MINGW32) += strptime.o 26lib-$(CONFIG_PLATFORM_MINGW32) += strptime.o
27lib-$(CONFIG_PLATFORM_MINGW32) += system.o 27lib-$(CONFIG_PLATFORM_MINGW32) += system.o
28lib-$(CONFIG_PLATFORM_MINGW32) += termios.o 28lib-$(CONFIG_PLATFORM_MINGW32) += termios.o
29lib-$(CONFIG_FEATURE_TIMEZONE) += timegm.o
29lib-$(CONFIG_PLATFORM_MINGW32) += uname.o 30lib-$(CONFIG_PLATFORM_MINGW32) += uname.o
30lib-$(CONFIG_PLATFORM_MINGW32) += winansi.o 31lib-$(CONFIG_PLATFORM_MINGW32) += winansi.o