headers.h: make Curl_headers_push() be CURLE_OK when not built
... to avoid errors when the function isn't there. Reported-by: Marcel Raad Fixes #8627 Closes #8628
This commit is contained in:
Родитель
8e22fc68e7
Коммит
c2610db63e
|
@ -46,7 +46,7 @@ CURLcode Curl_headers_push(struct Curl_easy *data, const char *header,
|
|||
CURLcode Curl_headers_cleanup(struct Curl_easy *data);
|
||||
|
||||
#else
|
||||
#define Curl_headers_push(x,y,z) CURLE_NOT_BUILT_IN
|
||||
#define Curl_headers_push(x,y,z) CURLE_OK
|
||||
#define Curl_headers_cleanup(x) Curl_nop_stmt
|
||||
#endif
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче