aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_get_empty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_get_empty.c')
-rw-r--r--src/testcurl/test_get_empty.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testcurl/test_get_empty.c b/src/testcurl/test_get_empty.c
index 52718acb..6d6c3166 100644
--- a/src/testcurl/test_get_empty.c
+++ b/src/testcurl/test_get_empty.c
@@ -47,11 +47,11 @@
47#include <sys/socket.h> 47#include <sys/socket.h>
48#endif 48#endif
49 49
50#if defined(CPU_COUNT) && (CPU_COUNT + 0) < 2 50#if defined(MHD_CPU_COUNT) && (MHD_CPU_COUNT + 0) < 2
51#undef CPU_COUNT 51#undef MHD_CPU_COUNT
52#endif 52#endif
53#if ! defined(CPU_COUNT) 53#if ! defined(MHD_CPU_COUNT)
54#define CPU_COUNT 2 54#define MHD_CPU_COUNT 2
55#endif 55#endif
56 56
57static int oneone; 57static int oneone;
@@ -305,7 +305,7 @@ testMultithreadedPoolGet (int poll_flag)
305 | poll_flag, 305 | poll_flag,
306 global_port, NULL, NULL, 306 global_port, NULL, NULL,
307 &ahc_echo, "GET", 307 &ahc_echo, "GET",
308 MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, 308 MHD_OPTION_THREAD_POOL_SIZE, MHD_CPU_COUNT,
309 MHD_OPTION_URI_LOG_CALLBACK, &log_cb, NULL, 309 MHD_OPTION_URI_LOG_CALLBACK, &log_cb, NULL,
310 MHD_OPTION_END); 310 MHD_OPTION_END);
311 if (d == NULL) 311 if (d == NULL)