diff --git a/docs/examples/http2-download.c b/docs/examples/http2-download.c index a4099a8c1..3b7ca81d3 100644 --- a/docs/examples/http2-download.c +++ b/docs/examples/http2-download.c @@ -165,7 +165,7 @@ static void setup(CURL *hnd, int num) curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYPEER, 0L); curl_easy_setopt(hnd, CURLOPT_SSL_VERIFYHOST, 0L); -#ifdef CURLPIPE_MULTIPLEX +#if (CURLPIPE_MULTIPLEX > 0) /* wait for pipe connection to confirm */ curl_easy_setopt(hnd, CURLOPT_PIPEWAIT, 1L); #endif