4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-15 10:19:09 +08:00
Corinna Vinschen db80f635c1 In terms of network related functionality, rely on Winsock definitions
as much as possible:
	* dtable.cc: Drop including sys/socket.h.
	* fhandler_procnet.cc: Change includes accordingly.
	* fhandler_socket.cc: Ditto.
	(fhandler_socket::listen): Avoid gcc error message initializing sin6.
	(LPFN_WSARECVMSG): Only define when building against w32api headers.
	* net.cc: Change includes accordingly.  Define USE_SYS_TYPES_FD_SET
	and __WSA_ERR_MACROS_DEFINED.  Define _INC_NETIOAPI temporarily and
	explain why.
	(struct _IP_ADAPTER_UNICAST_ADDRESS_LH): Only define when building
	against w32api headers.
	(struct _IP_ADAPTER_ADDRESSES_LH): Ditto.
	(SIO_GET_INTERFACE_LIST): Ditto.
	(ws_freeaddrinfo): Rename from freeaddrinfo so as not to collide with
	Winsock declaration.  Change througout.
	(ws_getaddrinfo): Ditto.
	(ws_getnameinfo): Ditto.
	* select.cc: Include netdb.h after defining USE_SYS_TYPES_FD_SET.
	* syslog.cc: Drop including netinet/in.h.  Define USE_SYS_TYPES_FD_SET
	and include ws2tcpip.h.
	* include/netdb.h (struct addrinfo): Don't define when building Cygwin.
	* include/cygwin/if.h: Don't declare if_xxx functions when building
	Cygwin.
	* include/cygwin/in.h: Disable most definitions when building Cygwin.
	* include/cygwin/socket.h: Disable sockaddr and sockaddr_storage
	definitions when building Cygwin.  Same for MCAST_INCLUDE/MCAST_EXCLUDE.
	* libc/inet_addr.c: Don't define __INSIDE_CYGWIN__ nor
	__INSIDE_CYGWIN_NET__.
	* libc/inet_network.c: Ditto.
	* libc/minires.h: Drop redundant inclusion of netdb.h.  Define
	__INSIDE_CYGWIN_NET__ only before including netdb.h and resolver
	headers.
2012-07-06 13:52:19 +00:00
..
2011-12-17 23:39:47 +00:00
2012-06-03 16:47:57 +00:00
2009-01-21 17:14:39 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2009-09-22 02:49:15 +00:00
2009-09-22 02:49:15 +00:00
2010-01-01 19:28:15 +00:00
2012-01-01 16:57:25 +00:00
2009-01-21 17:14:39 +00:00
2011-02-15 15:56:03 +00:00
2011-06-06 05:02:13 +00:00
2012-06-03 18:02:45 +00:00
2012-03-19 17:49:40 +00:00
2012-06-19 00:38:02 +00:00
2012-06-19 00:38:02 +00:00
2012-06-19 00:38:02 +00:00
2009-07-07 20:12:44 +00:00
2012-05-10 08:35:22 +00:00
2011-06-06 05:02:13 +00:00
2011-06-06 05:02:13 +00:00
2011-12-09 06:57:21 +00:00
2012-07-04 02:26:52 +00:00
2012-06-03 18:02:45 +00:00
2012-03-27 18:31:09 +00:00
2011-11-14 01:37:02 +00:00
2012-06-19 00:38:02 +00:00
2012-06-19 00:38:02 +00:00
2012-05-08 15:06:43 +00:00
2010-08-30 01:57:37 +00:00
2011-09-01 19:19:29 +00:00
2012-03-19 17:49:40 +00:00
2010-07-19 18:22:40 +00:00
2010-04-10 05:47:54 +00:00
2011-06-06 05:02:13 +00:00
2009-01-21 17:14:39 +00:00
2012-05-12 19:17:17 +00:00
2012-06-19 00:38:02 +00:00
2012-05-10 08:35:22 +00:00
2010-08-30 01:57:37 +00:00
2009-01-21 17:14:39 +00:00
2012-06-19 00:38:02 +00:00
2012-06-19 00:38:02 +00:00
2012-05-14 22:42:56 +00:00
2011-05-04 22:12:15 +00:00
2011-11-29 17:26:57 +00:00
2012-06-19 00:38:02 +00:00
2012-02-28 14:03:03 +00:00
2010-08-30 01:57:37 +00:00
2010-08-30 01:57:37 +00:00
2012-06-19 00:52:59 +00:00
2012-06-19 00:52:59 +00:00
2010-06-21 19:55:12 +00:00
2011-12-30 20:22:28 +00:00
2012-06-19 00:52:59 +00:00
2009-08-01 19:52:46 +00:00
2011-01-20 11:09:21 +00:00
2012-03-04 13:19:21 +00:00