diff 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
line wrap: on
line diff
--- a/src/systime.h	Tue Dec 08 09:05:19 2015 +0000
+++ b/src/systime.h	Wed Dec 09 10:35:23 2015 +0000
@@ -48,6 +48,18 @@
 #ifdef WIN32_NATIVE
 
 /* This defines struct timeval */
+/* Temporary override -- HST
+#define _TIMEVAL_DEFINED
+
+struct timeval
+{
+        time_t tv_sec;
+        time_t tv_usec;
+};
+#ifndef _INC_WINDOWS
+#include <windows.h>
+#endif / * _INC_WINDOWS * /
+typedef UINT_PTR        SOCKET; */
 #include <winsock.h>
 
 struct timezone