comparison src/systime.h @ 5930:a0d9bfe304de cygwin

more 64-bit patches for VS, not sure of many of them
author Henry Thompson <ht@markup.co.uk>
date Wed, 09 Dec 2015 10:35:23 +0000
parents 308d34e9f07d
children c1e8f3294298
comparison
equal deleted inserted replaced
5929:f5dfcf2323bc 5930:a0d9bfe304de
46 #endif 46 #endif
47 47
48 #ifdef WIN32_NATIVE 48 #ifdef WIN32_NATIVE
49 49
50 /* This defines struct timeval */ 50 /* This defines struct timeval */
51 /* Temporary override -- HST
52 #define _TIMEVAL_DEFINED
53
54 struct timeval
55 {
56 time_t tv_sec;
57 time_t tv_usec;
58 };
59 #ifndef _INC_WINDOWS
60 #include <windows.h>
61 #endif / * _INC_WINDOWS * /
62 typedef UINT_PTR SOCKET; */
51 #include <winsock.h> 63 #include <winsock.h>
52 64
53 struct timezone 65 struct timezone
54 { 66 {
55 int tz_minuteswest; /* minutes west of Greenwich */ 67 int tz_minuteswest; /* minutes west of Greenwich */