diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-07-21 23:48:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-07-21 23:49:03 +0200 |
commit | 3af0e76d1e71995b7790c74e79b76af86ee7c681 (patch) | |
tree | b80190acaf03d83f5f408cc6da3ec1a9f831d8d3 /lib/curl_setup.h | |
parent | 7644abf8e8101910ed86ab2869b7cc4031b27720 (diff) | |
download | curl-3af0e76d1e71995b7790c74e79b76af86ee7c681.tar.gz |
HTTP3: initial (experimental) support
USe configure --with-ngtcp2 or --with-quiche
Using either option will enable a HTTP3 build.
Co-authored-by: Alessandro Ghedini <alessandro@ghedini.me>
Closes #3500
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r-- | lib/curl_setup.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/curl_setup.h b/lib/curl_setup.h index 27414a540..afd5441b0 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -827,4 +827,8 @@ int getpwuid_r(uid_t uid, struct passwd *pwd, char *buf, #define UNITTEST static #endif +#if defined(USE_NGTCP2) || defined(USE_QUICHE) +#define ENABLE_QUIC +#endif + #endif /* HEADER_CURL_SETUP_H */ |