From: Michael Jerris Date: Fri, 14 Dec 2007 18:14:35 +0000 (+0000) Subject: fix curl build on msvc 2008 when running on xp and prior. X-Git-Tag: v1.0-rc1~1061 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4a98ece3937a4ecf455a73b44851b4cd6b47426;p=thirdparty%2Ffreeswitch.git fix curl build on msvc 2008 when running on xp and prior. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6795 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/libs/curl/lib/select.h b/libs/curl/lib/select.h index 9dde5556c6..159ef22904 100644 --- a/libs/curl/lib/select.h +++ b/libs/curl/lib/select.h @@ -28,7 +28,8 @@ #elif defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600) /* for Vista, use WSAPoll(). */ #include -#define CURL_HAVE_WSAPOLL +/* we can't test like this, as it assumes that it will be there at runtime, which it is not when building with msvc 2008 on xp */ +//#define CURL_HAVE_WSAPOLL #else #define POLLIN 0x01