comparison nt/inc/sys/time.h @ 404:2f8bb876ab1d r21-2-32

Import from CVS: tag r21-2-32
author cvs
date Mon, 13 Aug 2007 11:16:07 +0200
parents 7d55a9ba150c
children
comparison
equal deleted inserted replaced
403:9f011ab08d48 404:2f8bb876ab1d
2 * sys/time.h doesn't exist on NT 2 * sys/time.h doesn't exist on NT
3 */ 3 */
4 4
5 #include <time.h> 5 #include <time.h>
6 6
7 #ifdef __MINGW32__
8 #include <winsock.h>
9 #else
7 struct timeval 10 struct timeval
8 { 11 {
9 long tv_sec; /* seconds */ 12 long tv_sec; /* seconds */
10 long tv_usec; /* microseconds */ 13 long tv_usec; /* microseconds */
11 }; 14 };
15 #endif
12 16
13 struct timezone 17 struct timezone
14 { 18 {
15 int tz_minuteswest; /* minutes west of Greenwich */ 19 int tz_minuteswest; /* minutes west of Greenwich */
16 int tz_dsttime; /* type of dst correction */ 20 int tz_dsttime; /* type of dst correction */