diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2017-08-01 02:56:48 -0400 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2017-08-01 02:56:48 -0400 |
commit | 53d137d94ac355bd3fa1717141e688d3534f21f7 (patch) | |
tree | 88a21ed305f42e80581c479185ea0420096ba87c /lib/curl_setup.h | |
parent | f262b3586cb40f6fdb265188456cfb0ff4e4ed2a (diff) | |
download | curl-53d137d94ac355bd3fa1717141e688d3534f21f7.tar.gz |
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
Diffstat (limited to 'lib/curl_setup.h')
-rw-r--r-- | lib/curl_setup.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |