提交 f4a98ece authored 作者: Michael Jerris's avatar Michael Jerris

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
上级 ace9a25f
......@@ -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
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论