aboutsummaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/benchmark.c2
-rw-r--r--src/examples/benchmark_https.c2
-rw-r--r--src/examples/demo.c2
-rw-r--r--src/examples/demo_https.c2
4 files changed, 4 insertions, 4 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 ,
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 ,
diff --git a/src/examples/demo.c b/src/examples/demo.c
index 7b2064e2..eca2c069 100644
--- a/src/examples/demo.c
+++ b/src/examples/demo.c
@@ -884,7 +884,7 @@ main (int argc, char *const *argv)
884 mark_as_html (internal_error_response); 884 mark_as_html (internal_error_response);
885 update_directory (); 885 update_directory ();
886 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG 886 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG
887#if EPOLL_SUPPORT 887#ifdef EPOLL_SUPPORT
888 | MHD_USE_EPOLL_LINUX_ONLY 888 | MHD_USE_EPOLL_LINUX_ONLY
889#endif 889#endif
890 , 890 ,
diff --git a/src/examples/demo_https.c b/src/examples/demo_https.c
index ad986148..a80ce5cf 100644
--- a/src/examples/demo_https.c
+++ b/src/examples/demo_https.c
@@ -933,7 +933,7 @@ main (int argc, char *const *argv)
933 mark_as_html (internal_error_response); 933 mark_as_html (internal_error_response);
934 update_directory (); 934 update_directory ();
935 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG | MHD_USE_SSL 935 d = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_DEBUG | MHD_USE_SSL
936#if EPOLL_SUPPORT 936#ifdef EPOLL_SUPPORT
937 | MHD_USE_EPOLL_LINUX_ONLY 937 | MHD_USE_EPOLL_LINUX_ONLY
938#endif 938#endif
939 , 939 ,