mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
eventfd: restrict test to linux
Seems otherwise it gets confused on iOS
This commit is contained in:
parent
2d5a7d1430
commit
eb5a41eeb5
1 changed files with 4 additions and 1 deletions
|
@ -904,7 +904,10 @@ CHECK_FUNCTION_EXISTS(atoll LWS_HAVE_ATOLL)
|
|||
CHECK_FUNCTION_EXISTS(_atoi64 LWS_HAVE__ATOI64)
|
||||
CHECK_FUNCTION_EXISTS(_stat32i64 LWS_HAVE__STAT32I64)
|
||||
CHECK_FUNCTION_EXISTS(clock_gettime LWS_HAVE_CLOCK_GETTIME)
|
||||
CHECK_FUNCTION_EXISTS(eventfd LWS_HAVE_EVENTFD)
|
||||
|
||||
IF (CMAKE_SYSTEM_NAME STREQUAL Linux)
|
||||
CHECK_FUNCTION_EXISTS(eventfd LWS_HAVE_EVENTFD)
|
||||
endif()
|
||||
|
||||
if (NOT LWS_HAVE_GETIFADDRS)
|
||||
if (LWS_WITHOUT_BUILTIN_GETIFADDRS)
|
||||
|
|
Loading…
Add table
Reference in a new issue