Merge pull request #974 from xantares/master

Fixed mingw poll detection
This commit is contained in:
Pieter Hintjens 2014-04-14 21:54:19 +02:00
commit cfe2036008

View File

@ -40,7 +40,7 @@ if(POLLER STREQUAL "")
if(HAVE_POLL)
set(POLLER "poll")
else()
if(CMAKE_HOST_WIN32)
if(WIN32)
set(CMAKE_REQUIRED_INCLUDES winsock2.h)
set(HAVE_SELECT 1)
else()