mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-11 17:49:38 -06:00
cmCurl: Provide CURL_WRITEFUNC_ERROR for curl < 7.87
This commit is contained in:
@@ -11,6 +11,11 @@
|
||||
|
||||
#include <cm3p/curl/curl.h>
|
||||
|
||||
// curl versions before 7.87.0 did not provide CURL_WRITEFUNC_ERROR
|
||||
#if defined(LIBCURL_VERSION_NUM) && LIBCURL_VERSION_NUM < 0x075700
|
||||
# define CURL_WRITEFUNC_ERROR 0xFFFFFFFF
|
||||
#endif
|
||||
|
||||
void cmCurlInitOnce();
|
||||
cm::optional<int> cmCurlParseTLSVersion(cm::string_view tls_version);
|
||||
cm::optional<std::string> cmCurlPrintTLSVersion(int curl_tls_version);
|
||||
|
||||
Reference in New Issue
Block a user