Commit cfe20360 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #974 from xantares/master

Fixed mingw poll detection
parents 98a64716 ce4c4f2a
......@@ -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