aboutsummaryrefslogtreecommitdiff
path: root/src/examples/benchmark.c
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-08-24 15:02:10 +0000
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2016-08-24 15:02:10 +0000
commit9826ad54e0de815ca9a2b071717dc8aed1ce1a5c (patch)
tree72da2ca91f3bd6ae8ed23d8614db888a3510cd16 /src/examples/benchmark.c
parentdfbda8ae1ee98455a488de3a78ae4fd198e57cd4 (diff)
downloadlibmicrohttpd-9826ad54e0de815ca9a2b071717dc8aed1ce1a5c.tar.gz
libmicrohttpd-9826ad54e0de815ca9a2b071717dc8aed1ce1a5c.zip
Refactoring: do not define EPOLL_SUPPORT if epoll is disabled or not supported.
Diffstat (limited to 'src/examples/benchmark.c')
-rw-r--r--src/examples/benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/benchmark.c b/src/examples/benchmark.c
index d287b2fe..bb103c98 100644
--- a/src/examples/benchmark.c
+++ b/src/examples/benchmark.c
@@ -135,7 +135,7 @@ main (int argc, char *const *argv)
135 "close"); 135 "close");
136#endif 136#endif
137 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_SUPPRESS_DATE_NO_CLOCK 137 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_SUPPRESS_DATE_NO_CLOCK
138#if EPOLL_SUPPORT 138#ifdef EPOLL_SUPPORT
139 | MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_TURBO 139 | MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_TURBO
140#endif 140#endif
141 , 141 ,