summaryrefslogtreecommitdiff
path: root/win32/include/sys
diff options
context:
space:
mode:
authorTim Champagne <tchamp@users.sourceforge.net>2003-05-20 16:23:44 +0000
committerTim Champagne <tchamp@users.sourceforge.net>2003-05-20 16:23:44 +0000
commit2ff0f33b6345f193ef9dbd6547b268c0bc12552a (patch)
tree7cc5933246205fe58d25ffad0c0d4c41a0dce57a /win32/include/sys
parentcee76d5b9b53b098178ce66789e0d491406afad2 (diff)
downloadxine-lib-2ff0f33b6345f193ef9dbd6547b268c0bc12552a.tar.gz
xine-lib-2ff0f33b6345f193ef9dbd6547b268c0bc12552a.tar.bz2
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
Diffstat (limited to 'win32/include/sys')
-rwxr-xr-xwin32/include/sys/socket.h9
1 files changed, 4 insertions, 5 deletions
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 <fcntl.h> /* Not sure that this is needed */
#include <io.h> /* 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