Author: cazfi
Date: Sat Aug 13 10:33:02 2016
New Revision: 33586

URL: http://svn.gna.org/viewcvs/freeciv?rev=33586&view=rev
Log:
Use TIMEVAL as fc_timeval in Windows.

See bug #24902

Modified:
    trunk/utility/netintf.h

Modified: trunk/utility/netintf.h
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/netintf.h?rev=33586&r1=33585&r2=33586&view=diff
==============================================================================
--- trunk/utility/netintf.h     (original)
+++ trunk/utility/netintf.h     Sat Aug 13 10:33:02 2016
@@ -84,7 +84,11 @@
     TYPED_LIST_ITERATE(union fc_sockaddr, sockaddrlist, paddr)
 #define fc_sockaddr_list_iterate_end  LIST_ITERATE_END
 
+#ifdef FREECIV_MSWINDOWS
+typedef TIMEVAL fc_timeval;
+#else  /* FREECIV_MSWINDOWS */
 typedef struct timeval fc_timeval;
+#endif /* FREECIV_MSWINDOWS */
 
 int fc_connect(int sockfd, const struct sockaddr *serv_addr, socklen_t 
addrlen);
 int fc_select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to