From 53d137d94ac355bd3fa1717141e688d3534f21f7 Mon Sep 17 00:00:00 2001 From: Jay Satiro Date: Tue, 1 Aug 2017 02:56:48 -0400 Subject: 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(+) (limited to 'lib/curl_setup.h') 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 */ -- cgit v1.2.3