mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-27 23:51:04 +08:00
Fixed mingw poll detection
This commit is contained in:
parent
98a64716ab
commit
ce4c4f2a05
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user