[cmake-commits] hoffman committed select.h 1.2 1.3

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Sep 17 15:20:58 EDT 2007


Update of /cvsroot/CMake/CMake/Utilities/cmcurl
In directory public:/mounts/ram/cvs-serv14521/Utilities/cmcurl

Modified Files:
	select.h 
Log Message:
ENH: add support for vs 2008 beta 2


Index: select.h
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmcurl/select.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- select.h	15 Mar 2007 19:22:13 -0000	1.2
+++ select.h	17 Sep 2007 19:20:55 -0000	1.3
@@ -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 @@
     short   events;
     short   revents;
 };
+#endif
 
 #endif
 



More information about the Cmake-commits mailing list