Make winsock.h and winsock2.h independent from the Unix headers.
commit272023190e042d9d107ab8b620ccedc7b73094d0
authorFrancois Gouget <fgouget@free.fr>
Wed, 14 Nov 2001 21:26:23 +0000 (14 21:26 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 14 Nov 2001 21:26:23 +0000 (14 21:26 +0000)
treee11b0a501fc0d5409405255588641f531b5af307
parentc3daf4226816064602b5121b77917e0efd767c15
Make winsock.h and winsock2.h independent from the Unix headers.
Make them compatible with both the Unix C headers and the MSVCRT
headers.
Ensure compatibility with the Unix headers via the USE_WS_PREFIX
macro.
Add WINE_NOWINSOCK: prevents winsock.h from being included from
windows.h when defined.
Add ws2tcpip.h, move definitions to the right header.
16 files changed:
dlls/winsock/Makefile.in
dlls/winsock/async.c
dlls/winsock/socket.c
dlls/winsock/winsock.spec
dlls/winsock/ws2_32.spec
dlls/wsock32/protocol.c
dlls/wsock32/socket.c
dlls/wsock32/wsock32.spec
include/Makefile.in
include/windows.h
include/wine/winsock16.h
include/winsock.h
include/winsock2.h
include/ws2tcpip.h [new file with mode: 0644]
include/wsipx.h
server/sock.c