1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

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

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 * Define WIN32 when build target is Win32 API
*/ */