mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Disable poll usage on macOS/iOS because it is unreliable
This commit is contained in:
committed by
akallabeth
parent
73a931f941
commit
a7ce6699e3
@@ -638,7 +638,9 @@ if(UNIX OR CYGWIN)
|
||||
if (FREEBSD)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_INCLUDES ${EPOLLSHIM_INCLUDE_DIR})
|
||||
endif()
|
||||
check_include_files(poll.h HAVE_POLL_H)
|
||||
if(NOT APPLE)
|
||||
check_include_files(poll.h HAVE_POLL_H)
|
||||
endif()
|
||||
list(APPEND CMAKE_REQUIRED_LIBRARIES m)
|
||||
check_symbol_exists(ceill math.h HAVE_MATH_C99_LONG_DOUBLE)
|
||||
list(REMOVE_ITEM CMAKE_REQUIRED_LIBRARIES m)
|
||||
|
||||
Reference in New Issue
Block a user