Author: cazfi
Date: Sat Aug 13 10:33:15 2016
New Revision: 33588

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

See bug #24902

Modified:
    branches/S2_5/utility/netintf.h

Modified: branches/S2_5/utility/netintf.h
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/utility/netintf.h?rev=33588&r1=33587&r2=33588&view=diff
==============================================================================
--- branches/S2_5/utility/netintf.h     (original)
+++ branches/S2_5/utility/netintf.h     Sat Aug 13 10:33:15 2016
@@ -118,7 +118,11 @@
   FC_ADDR_ANY
 };
 
+#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