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
This commit is contained in:
Michael Jerris 2007-12-14 18:14:35 +00:00
parent ace9a25fa2
commit f4a98ece39

View File

@ -28,7 +28,8 @@
#elif defined(_WIN32_WINNT) && (_WIN32_WINNT >= 0x0600)
/* for Vista, use WSAPoll(). */
#include <winsock2.h>
#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