From: Daniel Stenberg Date: Fri, 18 Jan 2002 13:04:48 +0000 (+0000) Subject: #if [undefined] => #ifdef [undefined] X-Git-Tag: curl-7_9_3~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=49f7fa82b95e5f6fe816f842d41af11359dd7342;p=thirdparty%2Fcurl.git #if [undefined] => #ifdef [undefined] --- diff --git a/include/curl/curl.h b/include/curl/curl.h index e05db85c42..2e948d8a84 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -30,11 +30,11 @@ # include #else # include -# if TIME_WITH_SYS_TIME +# ifdef TIME_WITH_SYS_TIME # include # include # else -# if HAVE_SYS_TIME_H +# ifdef HAVE_SYS_TIME_H # include # else # include diff --git a/lib/ftp.c b/lib/ftp.c index 29c0cb8bb0..6b142dd8a0 100644 --- a/lib/ftp.c +++ b/lib/ftp.c @@ -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 8b68448258..f50bf5bad0 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;