diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-01-30 11:46:59 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-01-30 11:46:59 +0100 |
commit | 0f23662af74beceeddbbd8dc324b123eb90ca76e (patch) | |
tree | a08b63967661ffdb64fd4212024419acfdfb787d | |
parent | dd011df9e1a31e66611f58758ee93f9a346b36a2 (diff) |
http2.h: provide empty macros for non-http2 builds
-rw-r--r-- | lib/http2.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |