mirror of
https://github.com/pocoproject/poco.git
synced 2025-05-02 15:41:36 +02:00
epoll() is absent on AIX
This commit is contained in:
parent
50f1487dd4
commit
c4fdcf7ef2
@ -92,7 +92,12 @@ else (CYGWIN)
|
|||||||
add_definitions( -DPOCO_HAVE_FD_POLL)
|
add_definitions( -DPOCO_HAVE_FD_POLL)
|
||||||
set(SYSLIBS m socket)
|
set(SYSLIBS m socket)
|
||||||
else (QNX)
|
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)
|
set(SYSLIBS pthread ${CMAKE_DL_LIBS} rt)
|
||||||
endif (QNX)
|
endif (QNX)
|
||||||
endif (APPLE)
|
endif (APPLE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user