diff options
-rw-r--r-- | include/curl/curl.h | 4 | ||||
-rw-r--r-- | lib/ftp.c | 2 | ||||
-rw-r--r-- | lib/netrc.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index e05db85c4..2e948d8a8 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -30,11 +30,11 @@ # include <time.h> #else # include <sys/types.h> -# if TIME_WITH_SYS_TIME +# ifdef TIME_WITH_SYS_TIME # include <sys/time.h> # include <time.h> # else -# if HAVE_SYS_TIME_H +# ifdef HAVE_SYS_TIME_H # include <sys/time.h> # else # include <time.h> @@ -358,7 +358,7 @@ int Curl_GetFTPResponse(char *buf, if(!error) code = atoi(buf); -#if KRB4 +#ifdef KRB4 /* handle the security-oriented responses 6xx ***/ /* FIXME: some errorchecking perhaps... ***/ switch(code) { diff --git a/lib/netrc.c b/lib/netrc.c index 8b6844825..f50bf5bad 100644 --- a/lib/netrc.c +++ b/lib/netrc.c @@ -157,7 +157,7 @@ int Curl_parsenetrc(char *host, } else if(state_password) { strncpy(password, tok, PASSWORDSIZE-1); -#if _NETRC_DEBUG +#ifdef _NETRC_DEBUG printf("PASSWORD: %s\n", password); #endif state_password=0; |