* lib/ws2_32.c: New file, defining IPv6 constants.

* Makefile.in (SOURCES): Add ws2_32.c
	(EXTRA_OBJS): Add ws2_32.o.
This commit is contained in:
Danny Smith
2005-12-22 07:47:10 +00:00
parent de935f6d9f
commit db55f91dc0
3 changed files with 14 additions and 2 deletions

6
winsup/w32api/lib/ws2_32.c Executable file
View File

@@ -0,0 +1,6 @@
#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 }};