diff options
Diffstat (limited to 'Utilities/cmcurl/select.h')
-rw-r--r-- | Utilities/cmcurl/select.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Utilities/cmcurl/select.h b/Utilities/cmcurl/select.h index e0844b1..7573b1f 100644 --- a/Utilities/cmcurl/select.h +++ b/Utilities/cmcurl/select.h @@ -25,12 +25,8 @@ #ifdef HAVE_SYS_POLL_H #include <sys/poll.h> -#elif defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600) -/* for Vista, use WSAPoll(). */ -#include <winsock2.h> -#define CURL_HAVE_WSAPOLL #else - +#ifndef POLLIN #define POLLIN 0x01 #define POLLPRI 0x02 #define POLLOUT 0x04 @@ -44,6 +40,7 @@ struct pollfd short events; short revents; }; +#endif #endif |