comparison src/systime.h @ 5933:c1e8f3294298 cygwin

revert timeval comment, backed out change to winsock.h and just lots of warnings??? Also updated config.inc.samp to reflect a way to work around lack of windows-runnable hg
author Henry Thompson <ht@markup.co.uk>
date Thu, 10 Dec 2015 17:55:59 +0000
parents a0d9bfe304de
children
comparison
equal deleted inserted replaced
5932:d2c2d83dbb52 5933:c1e8f3294298
45 #include <unistd.h> 45 #include <unistd.h>
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 [! incorrectly (32-bit values),
51 /* Temporary override -- HST 51 but we seem to get away with it -- 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; */
63 #include <winsock.h> 52 #include <winsock.h>
64 53
65 struct timezone 54 struct timezone
66 { 55 {
67 int tz_minuteswest; /* minutes west of Greenwich */ 56 int tz_minuteswest; /* minutes west of Greenwich */