mirror of
https://github.com/curl/curl.git
synced 2026-08-25 13:13:31 +03:00
Some #if --> #ifdef
undef standard *printf before (re)defining them
This commit is contained in:
parent
2e60ca382d
commit
ad9cb40b6f
3 changed files with 12 additions and 2 deletions
|
|
@ -125,7 +125,7 @@ static char global_passwd[64];
|
|||
#endif
|
||||
|
||||
static int passwd_callback(char *buf, int num, int verify
|
||||
#if HAVE_USERDATA_IN_PWD_CALLBACK
|
||||
#ifdef HAVE_USERDATA_IN_PWD_CALLBACK
|
||||
/* This was introduced in 0.9.4, we can set this
|
||||
using SSL_CTX_set_default_passwd_cb_userdata()
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
* 'strtoofft' such that it can be used to work with curl_off_t's regardless.
|
||||
*/
|
||||
#if (SIZEOF_CURL_OFF_T > 4) && (SIZEOF_LONG < 8)
|
||||
#if HAVE_STRTOLL
|
||||
#ifdef HAVE_STRTOLL
|
||||
#define curlx_strtoofft strtoll
|
||||
#else /* HAVE_STRTOLL */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue