Commit ce4c4f2a authored by xantares's avatar xantares

Fixed mingw poll detection

parent 98a64716
...@@ -40,7 +40,7 @@ if(POLLER STREQUAL "") ...@@ -40,7 +40,7 @@ if(POLLER STREQUAL "")
if(HAVE_POLL) if(HAVE_POLL)
set(POLLER "poll") set(POLLER "poll")
else() else()
if(CMAKE_HOST_WIN32) if(WIN32)
set(CMAKE_REQUIRED_INCLUDES winsock2.h) set(CMAKE_REQUIRED_INCLUDES winsock2.h)
set(HAVE_SELECT 1) set(HAVE_SELECT 1)
else() 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