diff options
author | Yang Tse <yangsita@gmail.com> | 2007-04-04 06:06:36 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-04-04 06:06:36 +0000 |
commit | 8fe9376d542ef4f11b2049190de363f7b79436ec (patch) | |
tree | 9ad6908d6ed331e2cfad12eb65cd08b9f4e2b294 /lib/select.c | |
parent | a1f72943e96172b4598bf3cb5993c554d1294b8c (diff) | |
download | curl-8fe9376d542ef4f11b2049190de363f7b79436ec.tar.gz |
move WinSock definitions of EBADF, EINTR, EINVAL and EAFNOSUPPORT to setup_once.h
Diffstat (limited to 'lib/select.c')
-rw-r--r-- | lib/select.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/lib/select.c b/lib/select.c index ddc40593e..2af14eb36 100644 --- a/lib/select.c +++ b/lib/select.c @@ -23,8 +23,6 @@ #include "setup.h" -#include <errno.h> - #ifdef HAVE_SYS_SELECT_H #include <sys/select.h> #endif @@ -51,15 +49,6 @@ #include "connect.h" #include "select.h" -#ifdef USE_WINSOCK -# undef EBADF -# define EBADF WSAEBADF -# undef EINTR -# define EINTR WSAEINTR -# undef EINVAL -# define EINVAL WSAEINVAL -#endif - /* Winsock and TPF sockets are not in range [0..FD_SETSIZE-1] */ #if defined(USE_WINSOCK) || defined(TPF) |