diff options
Diffstat (limited to 'src/testcurl/test_get_chunked.c')
-rw-r--r-- | src/testcurl/test_get_chunked.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/testcurl/test_get_chunked.c b/src/testcurl/test_get_chunked.c index cab4e1b5..aa753314 100644 --- a/src/testcurl/test_get_chunked.c +++ b/src/testcurl/test_get_chunked.c | |||
@@ -40,11 +40,11 @@ | |||
40 | #include <unistd.h> | 40 | #include <unistd.h> |
41 | #endif | 41 | #endif |
42 | 42 | ||
43 | #if defined(CPU_COUNT) && (CPU_COUNT + 0) < 2 | 43 | #if defined(MHD_CPU_COUNT) && (MHD_CPU_COUNT + 0) < 2 |
44 | #undef CPU_COUNT | 44 | #undef MHD_CPU_COUNT |
45 | #endif | 45 | #endif |
46 | #if ! defined(CPU_COUNT) | 46 | #if ! defined(MHD_CPU_COUNT) |
47 | #define CPU_COUNT 2 | 47 | #define MHD_CPU_COUNT 2 |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | struct CBC | 50 | struct CBC |
@@ -325,7 +325,8 @@ testMultithreadedPoolGet () | |||
325 | cbc.pos = 0; | 325 | cbc.pos = 0; |
326 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, | 326 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, |
327 | port, NULL, NULL, &ahc_echo, "GET", | 327 | port, NULL, NULL, &ahc_echo, "GET", |
328 | MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, MHD_OPTION_END); | 328 | MHD_OPTION_THREAD_POOL_SIZE, MHD_CPU_COUNT, |
329 | MHD_OPTION_END); | ||
329 | if (d == NULL) | 330 | if (d == NULL) |
330 | return 16; | 331 | return 16; |
331 | if (0 == port) | 332 | if (0 == port) |