diff options
Diffstat (limited to 'src/testcurl/https/test_https_get_parallel.c')
-rw-r--r-- | src/testcurl/https/test_https_get_parallel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/testcurl/https/test_https_get_parallel.c b/src/testcurl/https/test_https_get_parallel.c index aa7f8d58..af5345bc 100644 --- a/src/testcurl/https/test_https_get_parallel.c +++ b/src/testcurl/https/test_https_get_parallel.c | |||
@@ -36,11 +36,11 @@ | |||
36 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ | 36 | #endif /* MHD_HTTPS_REQUIRE_GRYPT */ |
37 | #include "tls_test_common.h" | 37 | #include "tls_test_common.h" |
38 | 38 | ||
39 | #if defined(CPU_COUNT) && (CPU_COUNT + 0) < 4 | 39 | #if defined(MHD_CPU_COUNT) && (MHD_CPU_COUNT + 0) < 4 |
40 | #undef CPU_COUNT | 40 | #undef MHD_CPU_COUNT |
41 | #endif | 41 | #endif |
42 | #if ! defined(CPU_COUNT) | 42 | #if ! defined(MHD_CPU_COUNT) |
43 | #define CPU_COUNT 4 | 43 | #define MHD_CPU_COUNT 4 |
44 | #endif | 44 | #endif |
45 | 45 | ||
46 | extern const char srv_key_pem[]; | 46 | extern const char srv_key_pem[]; |
@@ -105,7 +105,7 @@ test_parallel_clients (void *cls, int port, const char *cipher_suite, | |||
105 | int curl_proto_version) | 105 | int curl_proto_version) |
106 | { | 106 | { |
107 | int i; | 107 | int i; |
108 | int client_count = (CPU_COUNT - 1); | 108 | int client_count = (MHD_CPU_COUNT - 1); |
109 | void *client_thread_ret; | 109 | void *client_thread_ret; |
110 | pthread_t client_arr[client_count]; | 110 | pthread_t client_arr[client_count]; |
111 | struct https_test_data client_args = | 111 | struct https_test_data client_args = |