Merge pull request #2559 from agalanin/poco-1.9.0

epoll() is absent on AIX
This commit is contained in:
Günter Obiltschnig 2018-12-05 08:09:40 +01:00 committed by GitHub
commit 10da7373f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,12 @@ else (CYGWIN)
add_definitions( -DPOCO_HAVE_FD_POLL)
set(SYSLIBS m socket)
else (QNX)
add_definitions( -D_XOPEN_SOURCE=500 -DPOCO_HAVE_FD_EPOLL)
add_definitions( -D_XOPEN_SOURCE=500)
if (${CMAKE_SYSTEM} MATCHES "AIX")
add_definitions( -DPOCO_HAVE_FD_POLL)
else()
add_definitions( -DPOCO_HAVE_FD_EPOLL)
endif()
set(SYSLIBS pthread ${CMAKE_DL_LIBS} rt)
endif (QNX)
endif (APPLE)