mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 15:29:02 +08:00
15 lines
769 B
Diff
15 lines
769 B
Diff
diff --git a/include/curlpp/Options.hpp b/include/curlpp/Options.hpp
|
|
index c705c9d..a658752 100644
|
|
--- a/include/curlpp/Options.hpp
|
|
+++ b/include/curlpp/Options.hpp
|
|
@@ -278,7 +278,9 @@ namespace options
|
|
typedef curlpp::OptionTrait<long, CURLOPT_LOW_SPEED_LIMIT> LowSpeedLimit;
|
|
typedef curlpp::OptionTrait<long, CURLOPT_LOW_SPEED_TIME> LowSpeedTime;
|
|
typedef curlpp::OptionTrait<long, CURLOPT_MAXCONNECTS> MaxConnects;
|
|
+#if LIBCURL_VERSION_NUM < 0x080a00
|
|
typedef curlpp::OptionTrait<curl_closepolicy, CURLOPT_CLOSEPOLICY> ClosePolicy;
|
|
+#endif
|
|
typedef curlpp::OptionTrait<bool, CURLOPT_FRESH_CONNECT> FreshConnect;
|
|
typedef curlpp::OptionTrait<bool, CURLOPT_FORBID_REUSE> ForbidReuse;
|
|
typedef curlpp::OptionTrait<long, CURLOPT_CONNECTTIMEOUT> ConnectTimeout;
|