mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
curle: move deprecated error code to ifndef block
This commit is contained in:
parent
c19ed66a8d
commit
0fd4427f40
@ -585,9 +585,6 @@ typedef enum {
|
|||||||
CURL_LAST /* never use! */
|
CURL_LAST /* never use! */
|
||||||
} CURLcode;
|
} CURLcode;
|
||||||
|
|
||||||
/* added in 7.62.0 */
|
|
||||||
#define CURLE_SSL_CACERT CURLE_PEER_FAILED_VERIFICATION
|
|
||||||
|
|
||||||
#ifndef CURL_NO_OLDIES /* define this to test if your app builds with all
|
#ifndef CURL_NO_OLDIES /* define this to test if your app builds with all
|
||||||
the obsolete stuff removed! */
|
the obsolete stuff removed! */
|
||||||
|
|
||||||
@ -602,6 +599,9 @@ typedef enum {
|
|||||||
#define CURLOPT_ENCODING CURLOPT_ACCEPT_ENCODING
|
#define CURLOPT_ENCODING CURLOPT_ACCEPT_ENCODING
|
||||||
#define CURLE_FTP_WEIRD_SERVER_REPLY CURLE_WEIRD_SERVER_REPLY
|
#define CURLE_FTP_WEIRD_SERVER_REPLY CURLE_WEIRD_SERVER_REPLY
|
||||||
|
|
||||||
|
/* The following were added in 7.62.0 */
|
||||||
|
#define CURLE_SSL_CACERT CURLE_PEER_FAILED_VERIFICATION
|
||||||
|
|
||||||
/* The following were added in 7.21.5, April 2011 */
|
/* The following were added in 7.21.5, April 2011 */
|
||||||
#define CURLE_UNKNOWN_TELNET_OPTION CURLE_UNKNOWN_OPTION
|
#define CURLE_UNKNOWN_TELNET_OPTION CURLE_UNKNOWN_OPTION
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user