Skip to content

Commit bfb7d54

Browse files
committed
lib/curl/Easy: do not qualify the curl_easy_*() calls
This breaks with CURL 8.19 where these are preprocessor macros beginning with an open parenthesis.
1 parent 1629660 commit bfb7d54

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
ver 0.24.9 (not yet released)
2+
* input
3+
- curl: fix build failure after CURL 8.19 API change
24
* database
35
- upnp: refuse to build with libupnp >= 1.14.26 due to API breakage
46

src/lib/curl/Easy.hxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public:
201201

202202
template<typename T>
203203
bool GetInfo(CURLINFO info, T value_r) const noexcept {
204-
return ::curl_easy_getinfo(handle, info, value_r) == CURLE_OK;
204+
return curl_easy_getinfo(handle, info, value_r) == CURLE_OK;
205205
}
206206

207207
/**
@@ -222,7 +222,7 @@ public:
222222
}
223223

224224
bool Unpause() noexcept {
225-
return ::curl_easy_pause(handle, CURLPAUSE_CONT) == CURLE_OK;
225+
return curl_easy_pause(handle, CURLPAUSE_CONT) == CURLE_OK;
226226
}
227227

228228
CurlString Escape(const char *string, int length=0) const noexcept {

0 commit comments

Comments
 (0)