mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
lib/h2h3: #ifdef on ENABLE_QUIC, not the wrong define
Otherwise the build fails when H3 is enabled but the build doesn't include nghttp2. Closes #8424
This commit is contained in:
parent
d15692ebba
commit
836d3ccfe4
@ -37,7 +37,7 @@
|
||||
* used in a HTTP/2 or HTTP/3 request.
|
||||
*/
|
||||
|
||||
#if defined(USE_NGHTTP2) || defined(USE_HTTP3)
|
||||
#if defined(USE_NGHTTP2) || defined(ENABLE_QUIC)
|
||||
|
||||
/* Index where :authority header field will appear in request header
|
||||
field list. */
|
||||
|
Loading…
Reference in New Issue
Block a user