0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-26 23:01:04 +08:00

Fixed mingw poll detection

This commit is contained in:
xantares 2014-04-14 21:49:57 +02:00
parent 98a64716ab
commit ce4c4f2a05

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()