aboutsummaryrefslogtreecommitdiff
path: root/src/examples/benchmark_https.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_https.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_https.c')
-rw-r--r--src/examples/benchmark_https.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/benchmark_https.c b/src/examples/benchmark_https.c
index 735a913e..5d7171be 100644
--- a/src/examples/benchmark_https.c
+++ b/src/examples/benchmark_https.c
@@ -181,7 +181,7 @@ main (int argc, char *const *argv)
181 (void *) PAGE, 181 (void *) PAGE,
182 MHD_RESPMEM_PERSISTENT); 182 MHD_RESPMEM_PERSISTENT);
183 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL 183 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL
184#if EPOLL_SUPPORT 184#ifdef EPOLL_SUPPORT
185 | MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_TURBO 185 | MHD_USE_EPOLL_LINUX_ONLY | MHD_USE_EPOLL_TURBO
186#endif 186#endif
187 , 187 ,