diff options
Diffstat (limited to 'src/testcurl/test_post.c')
-rw-r--r-- | src/testcurl/test_post.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testcurl/test_post.c b/src/testcurl/test_post.c index d591ab8b..ab8f4cb2 100644 --- a/src/testcurl/test_post.c +++ b/src/testcurl/test_post.c | |||
@@ -45,11 +45,11 @@ | |||
45 | 45 | ||
46 | #include "mhd_has_in_name.h" | 46 | #include "mhd_has_in_name.h" |
47 | 47 | ||
48 | #if defined(CPU_COUNT) && (CPU_COUNT + 0) < 2 | 48 | #if defined(MHD_CPU_COUNT) && (MHD_CPU_COUNT + 0) < 2 |
49 | #undef CPU_COUNT | 49 | #undef MHD_CPU_COUNT |
50 | #endif | 50 | #endif |
51 | #if ! defined(CPU_COUNT) | 51 | #if ! defined(MHD_CPU_COUNT) |
52 | #define CPU_COUNT 2 | 52 | #define MHD_CPU_COUNT 2 |
53 | #endif | 53 | #endif |
54 | 54 | ||
55 | #define POST_DATA "name=daniel&project=curl" | 55 | #define POST_DATA "name=daniel&project=curl" |
@@ -341,7 +341,7 @@ testMultithreadedPoolPost () | |||
341 | cbc.pos = 0; | 341 | cbc.pos = 0; |
342 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, | 342 | d = MHD_start_daemon (MHD_USE_INTERNAL_POLLING_THREAD | MHD_USE_ERROR_LOG, |
343 | port, NULL, NULL, &ahc_echo, NULL, | 343 | port, NULL, NULL, &ahc_echo, NULL, |
344 | MHD_OPTION_THREAD_POOL_SIZE, CPU_COUNT, | 344 | MHD_OPTION_THREAD_POOL_SIZE, MHD_CPU_COUNT, |
345 | MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL, | 345 | MHD_OPTION_NOTIFY_COMPLETED, &completed_cb, NULL, |
346 | MHD_OPTION_END); | 346 | MHD_OPTION_END); |
347 | if (d == NULL) | 347 | if (d == NULL) |