Fix compilation with curl <7.21.6 used under CentOS 6
According to cURL documentation, the CURLOPT_ACCEPT_ENCODING symbol was called CURLOPT_ENCODING earlier. Closes https://github.com/wxWidgets/wxWidgets/pull/2210
This commit is contained in:
committed by
Vadim Zeitlin
parent
56017bfffb
commit
3514dda407
@@ -37,6 +37,11 @@
|
|||||||
#define wxCURL_HAVE_MULTI_WAIT 0
|
#define wxCURL_HAVE_MULTI_WAIT 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// The new name was introduced in curl 7.21.6.
|
||||||
|
#ifndef CURLOPT_ACCEPT_ENCODING
|
||||||
|
#define CURLOPT_ACCEPT_ENCODING CURLOPT_ENCODING
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// wxWebResponseCURL
|
// wxWebResponseCURL
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user