From: Daniel Stenberg Date: Thu, 30 Jan 2014 10:46:59 +0000 (+0100) Subject: http2.h: provide empty macros for non-http2 builds X-Git-Tag: curl-7_36_0~270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f23662af74beceeddbbd8dc324b123eb90ca76e;p=curl http2.h: provide empty macros for non-http2 builds --- diff --git a/lib/http2.h b/lib/http2.h index 596771acd..c6a5c41dc 100644 --- a/lib/http2.h +++ b/lib/http2.h @@ -38,6 +38,8 @@ CURLcode Curl_http2_request_upgrade(Curl_send_buffer *req, struct connectdata *conn); void 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) #endif