newlib/winsup/w32api/lib/ws2_32.c
Danny Smith db55f91dc0 * lib/ws2_32.c: New file, defining IPv6 constants.
* Makefile.in (SOURCES): Add ws2_32.c
	(EXTRA_OBJS): Add ws2_32.o.
2005-12-22 07:47:10 +00:00

7 lines
243 B
C
Executable File

#include <winsock2.h>
#include <ws2tcpip.h>
/* IPv6 constants for use in structure assignments (RFC 2553). */
const struct in6_addr in6addr_any = {{ IN6ADDR_ANY_INIT }};
const struct in6_addr in6addr_loopback = {{ IN6ADDR_LOOPBACK_INIT }};