gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 171/208: curl_setup: Define CURL_NO_OLDIES for buil


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 171/208: curl_setup: Define CURL_NO_OLDIES for building libcurl
Date: Wed, 09 Aug 2017 17:36:08 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to annotated tag gnurl-7.55.0
in repository gnurl.

commit 53d137d94ac355bd3fa1717141e688d3534f21f7
Author: Jay Satiro <address@hidden>
AuthorDate: Tue Aug 1 02:56:48 2017 -0400

    curl_setup: Define CURL_NO_OLDIES for building libcurl
    
    .. to catch accidental use of deprecated error codes.
    
    Ref: https://github.com/curl/curl/issues/1688#issuecomment-316764237
---
 lib/curl_setup.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index fc597d75d..4a3b85c45 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -22,6 +22,10 @@
  *
  ***************************************************************************/
 
+#if defined(BUILDING_LIBCURL) && !defined(CURL_NO_OLDIES)
+#define CURL_NO_OLDIES
+#endif
+
 /*
  * Define WIN32 when build target is Win32 API
  */

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]