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
This commit is contained in:
Jay Satiro 2017-08-01 02:56:48 -04:00
parent f262b3586c
commit 53d137d94a
1 changed files with 4 additions and 0 deletions

View File

@ -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
*/