aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-08-07 12:44:38 +0000
committerPatrick Monnerat <Patrick.Monnerat@datasphere.ch>2007-08-07 12:44:38 +0000
commitad9cb40b6f0fc79a1fddd9fa6aa12bf1dd31092b (patch)
tree2e360e401f7df17ab9b5b0003550de4d3d54e364 /lib
parent2e60ca382dbe99bd294641dabf7e84a349b080c8 (diff)
Some #if --> #ifdef
undef standard *printf before (re)defining them
Diffstat (limited to 'lib')
-rw-r--r--lib/ssluse.c2
-rw-r--r--lib/strtoofft.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index f10002eca..d15cd71a1 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -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()
*/
diff --git a/lib/strtoofft.h b/lib/strtoofft.h
index e27b43261..7ebe4f050 100644
--- a/lib/strtoofft.h
+++ b/lib/strtoofft.h
@@ -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 */