aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-14 19:48:30 +1000
committerNguyễn Thái Ngọc Duy <pclouds@gmail.com>2010-09-14 19:51:47 +1000
commita2486b548b1636729edc34172a08fd18864e7fa8 (patch)
treee020ccd5c0accefead56124e169571e92a0bb1cf /include
parent42b6a4c89ad8d4f625a3b63b7556929e3a660e90 (diff)
downloadbusybox-w32-a2486b548b1636729edc34172a08fd18864e7fa8.tar.gz
busybox-w32-a2486b548b1636729edc34172a08fd18864e7fa8.tar.bz2
busybox-w32-a2486b548b1636729edc34172a08fd18864e7fa8.zip
win32: enable date
Setting time does not work. %e does not work because strftime does not support that. Output may be different from POSIX because "it is Windows" syndrome.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 53a0a0d67..e7c385ec6 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -235,6 +235,10 @@ int mingw_fstat(int fd, struct stat *buf);
235/* 235/*
236 * sys/time.h 236 * sys/time.h
237 */ 237 */
238struct timespec {
239 time_t tv_sec;
240 long int tv_nsec;
241};
238struct itimerval { 242struct itimerval {
239 struct timeval it_value, it_interval; 243 struct timeval it_value, it_interval;
240}; 244};