]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix curl build on msvc 2008 when running on xp and prior.
authorMichael Jerris <mike@jerris.com>
Fri, 14 Dec 2007 18:14:35 +0000 (18:14 +0000)
committerMichael Jerris <mike@jerris.com>
Fri, 14 Dec 2007 18:14:35 +0000 (18:14 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6795 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/curl/lib/select.h

index 9dde5556c6946fee92ae7c055fb053ffd33f7e1e..159ef22904f13f5dfe84ebe3abba00b032147820 100644 (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