Commit ce4c4f2a authored by xantares's avatar xantares

Fixed mingw poll detection

parent 98a64716
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment