diff options
| author | Liam Staskawicz <liam@stask.net> | 2018-03-04 19:35:29 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-03-15 15:43:50 -0700 |
| commit | 91866ed9365ab89069c12da41c873c23d0ba1d19 (patch) | |
| tree | 6d4fc539750de9335915321a10410bccd1c65bd9 /src/CMakeLists.txt | |
| parent | e926c650a9ed6154b0514484d68c8711e31931d3 (diff) | |
| download | nng-91866ed9365ab89069c12da41c873c23d0ba1d19.tar.gz nng-91866ed9365ab89069c12da41c873c23d0ba1d19.tar.bz2 nng-91866ed9365ab89069c12da41c873c23d0ba1d19.zip | |
epoll: add epoll-based pollq implementation
fixes #33
Diffstat (limited to 'src/CMakeLists.txt')
| -rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ab068322..92f75f94 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -108,6 +108,10 @@ if (NNG_HAVE_KQUEUE) set (NNG_SOURCES ${NNG_SOURCES} platform/posix/posix_pollq_kqueue.c ) +elseif (NNG_HAVE_EPOLL) + set (NNG_SOURCES ${NNG_SOURCES} + platform/posix/posix_pollq_epoll.c + ) else() set (NNG_SOURCES ${NNG_SOURCES} platform/posix/posix_pollq_poll.c |
