1
0
Fork 0
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:
Andy Green 2020-04-13 19:28:33 +01:00
parent 2d5a7d1430
commit eb5a41eeb5

View file

@ -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)