* 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:
6
winsup/w32api/lib/ws2_32.c
Executable file
6
winsup/w32api/lib/ws2_32.c
Executable 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 }};
|
Reference in New Issue
Block a user