Merge pull request #910 from mkrivos/develop

Enable POCO_HAVE_FD_EPOLL on linux for cmake build system too
This commit is contained in:
Günter Obiltschnig 2015-08-19 12:50:29 +02:00
commit 69ac72d569

View File

@ -79,7 +79,7 @@ if (UNIX AND NOT ANDROID )
add_definitions( -DPOCO_HAVE_IPv6 -DPOCO_NO_STAT64)
set(SYSLIBS dl)
else (APPLE)
add_definitions( -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64)
add_definitions( -D_XOPEN_SOURCE=500 -D_REENTRANT -D_THREAD_SAFE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DPOCO_HAVE_FD_EPOLL)
set(SYSLIBS pthread dl rt)
endif (APPLE)
endif(UNIX AND NOT ANDROID )