cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Undefined macros in curl/curl.h

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 5 Jan 2012 19:26:53 +0100 (CET)

On Thu, 5 Jan 2012, Daniel Stenberg wrote:

> Ah right. Perhaps we should instead make all four defines like this:

More seriously though, we can make them survive better in some ways with this
fix:

@@ -520,6 +520,10 @@ typedef enum {
  #ifndef CURL_NO_OLDIES /* define this to test if your app builds with all
                            the obsolete stuff removed! */

+/* Obsolete error codes re-used in 7.24.0 */
+#define CURLE_OBSOLETE10 CURLE_FTP_ACCEPT_FAILED
+#define CURLE_OBSOLETE12 CURLE_FTP_ACCEPT_TIMEOUT
+
  /* compatibility with older names */
  #define CURLOPT_ENCODING CURLOPT_ACCEPT_ENCODING

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-01-05