From: Viktor Szakats Date: Fri, 22 Aug 2025 11:50:39 +0000 (+0200) Subject: examples: make `CURLPIPE_MULTIPLEX` fallback `long` X-Git-Tag: curl-8_16_0~125 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a9705e9cfb75075b04711cdc6532fbe880ffd20b;p=thirdparty%2Fcurl.git examples: make `CURLPIPE_MULTIPLEX` fallback `long` Closes #18356 --- diff --git a/docs/examples/http2-download.c b/docs/examples/http2-download.c index 4a249fa979..ac9b9a082e 100644 --- a/docs/examples/http2-download.c +++ b/docs/examples/http2-download.c @@ -42,7 +42,7 @@ /* This little trick makes sure that we do not enable pipelining for libcurls old enough to not have this symbol. It is _not_ defined to zero in a recent libcurl header. */ -#define CURLPIPE_MULTIPLEX 0 +#define CURLPIPE_MULTIPLEX 0L #endif struct transfer { diff --git a/docs/examples/http2-upload.c b/docs/examples/http2-upload.c index c24e5937c1..c033b0b685 100644 --- a/docs/examples/http2-upload.c +++ b/docs/examples/http2-upload.c @@ -55,7 +55,7 @@ /* This little trick makes sure that we do not enable pipelining for libcurls old enough to not have this symbol. It is _not_ defined to zero in a recent libcurl header. */ -#define CURLPIPE_MULTIPLEX 0 +#define CURLPIPE_MULTIPLEX 0L #endif #define NUM_HANDLES 1000