diff options
Diffstat (limited to 'lib/http2.h')
-rw-r--r-- | lib/http2.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/http2.h b/lib/http2.h index 30a8b591b..5c0ce8e80 100644 --- a/lib/http2.h +++ b/lib/http2.h @@ -39,11 +39,11 @@ CURLcode Curl_http2_request_upgrade(Curl_send_buffer *req, CURLcode Curl_http2_setup(struct connectdata *conn); int Curl_http2_switched(struct connectdata *conn); #else /* USE_NGHTTP2 */ -#define Curl_http2_init(x) -#define Curl_http2_send_request(x) -#define Curl_http2_request_upgrade(x,y) CURLE_OK -#define Curl_http2_switched(x) -#define Curl_http2_setup(x) Curl_nop_stmt +#define Curl_http2_init(x) CURLE_UNSUPPORTED_PROTOCOL +#define Curl_http2_send_request(x) CURLE_UNSUPPORTED_PROTOCOL +#define Curl_http2_request_upgrade(x,y) CURLE_UNSUPPORTED_PROTOCOL +#define Curl_http2_setup(x) CURLE_UNSUPPORTED_PROTOCOL +#define Curl_http2_switched(x) (-1) #endif #endif /* HEADER_CURL_HTTP2_H */ |