From 2ff0f33b6345f193ef9dbd6547b268c0bc12552a Mon Sep 17 00:00:00 2001 From: Tim Champagne Date: Tue, 20 May 2003 16:23:44 +0000 Subject: This adds http and network input for Win32. I have no idea how to test this under win32 though? CVS patchset: 4889 CVS date: 2003/05/20 16:23:44 --- win32/include/sys/socket.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'win32/include/sys') diff --git a/win32/include/sys/socket.h b/win32/include/sys/socket.h index 6552cb5ee..be5d9a614 100755 --- a/win32/include/sys/socket.h +++ b/win32/include/sys/socket.h @@ -20,6 +20,9 @@ * WIN32 PORT, */ +#ifndef _SOCKET_H +#define _SOCKET_H + #include /* Not sure that this is needed */ #include /* open, close, ... */ @@ -31,8 +34,4 @@ #define SIGALRM 14 #endif -/* Some real good hacks! */ -#undef errno -#define errno WSAGetLastError - -#define EINPROGRESS WSAEINPROGRESS +#endif /* _SOCKET_H */ \ No newline at end of file -- cgit v1.2.3