diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/curlcpp/obsolete-curlopt.diff | |
Diffstat (limited to 'vcpkg/ports/curlcpp/obsolete-curlopt.diff')
| -rw-r--r-- | vcpkg/ports/curlcpp/obsolete-curlopt.diff | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/curlcpp/obsolete-curlopt.diff b/vcpkg/ports/curlcpp/obsolete-curlopt.diff new file mode 100644 index 0000000..cfb5d2a --- /dev/null +++ b/vcpkg/ports/curlcpp/obsolete-curlopt.diff @@ -0,0 +1,14 @@ +diff --git a/include/curl_easy.h b/include/curl_easy.h +index 66f8f51..8004957 100644 +--- a/include/curl_easy.h ++++ b/include/curl_easy.h +@@ -358,7 +358,9 @@ namespace curl { + + /* Renamed / obsoleted since 7.37 */ + #if defined(LIBCURL_VERSION_NUM) && LIBCURL_VERSION_NUM > 0x072500 ++# if LIBCURL_VERSION_NUM < 0x080a00 + CURLCPP_DEFINE_OPTION(CURLOPT_OBSOLETE72, long); /* OBSOLETE, do not use! */ ++# endif + #else + CURLCPP_DEFINE_OPTION(CURLOPT_CLOSEPOLICY, long); + #endif |