mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* 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:
parent
de935f6d9f
commit
db55f91dc0
@ -1,3 +1,9 @@
|
||||
2005-12-22 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* lib/ws2_32.c: New file, defining IPv6 constants.
|
||||
* Makefile.in (SOURCES): Add ws2_32.c
|
||||
(EXTRA_OBJS): Add ws2_32.o.
|
||||
|
||||
2005-12-21 Michael Jung <mjung@iss.tu-darmstadt.de>
|
||||
|
||||
* lib/user32.def (PrivateExtractIconsA@32,
|
||||
|
@ -117,10 +117,10 @@ EXTRA_LIBS=libuuid.a libscrnsave.a libscrnsavw.a liblargeint.a
|
||||
LIBS = $(IMPLIBS) $(MIMPLIBS) $(EXTRA_LIBS)
|
||||
UUID_OBJS = uuid.o mshtml-uuid.o msxml-uuid.o
|
||||
EXTRA_OBJS = shell32.o scrnsave.o scrnsavw.o largeint.o \
|
||||
$(UUID_OBJS) kernel32.o
|
||||
$(UUID_OBJS) kernel32.o ws2_32.o
|
||||
UUID_SOURCES = uuid.c mshtml-uuid.c msxml-uuid.c
|
||||
SOURCES = scrnsave.c shell32.c largeint.c $(UUID_SOURCES)\
|
||||
res.rc test.c kernel32.c
|
||||
res.rc test.c kernel32.c ws2_32.c
|
||||
|
||||
DISTFILES = Makefile.in $(DEF_FILES) $(MRI_FILES) $(SOURCES)
|
||||
|
||||
|
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 }};
|
Loading…
x
Reference in New Issue
Block a user