#if [undefined] => #ifdef [undefined]

This commit is contained in:
Daniel Stenberg 2002-01-18 13:04:48 +00:00
parent e4cd4cf3f3
commit 49f7fa82b9
3 changed files with 4 additions and 4 deletions

View File

@ -30,11 +30,11 @@
# include <time.h> # include <time.h>
#else #else
# include <sys/types.h> # include <sys/types.h>
# if TIME_WITH_SYS_TIME # ifdef TIME_WITH_SYS_TIME
# include <sys/time.h> # include <sys/time.h>
# include <time.h> # include <time.h>
# else # else
# if HAVE_SYS_TIME_H # ifdef HAVE_SYS_TIME_H
# include <sys/time.h> # include <sys/time.h>
# else # else
# include <time.h> # include <time.h>

View File

@ -358,7 +358,7 @@ int Curl_GetFTPResponse(char *buf,
if(!error) if(!error)
code = atoi(buf); code = atoi(buf);
#if KRB4 #ifdef KRB4
/* handle the security-oriented responses 6xx ***/ /* handle the security-oriented responses 6xx ***/
/* FIXME: some errorchecking perhaps... ***/ /* FIXME: some errorchecking perhaps... ***/
switch(code) { switch(code) {

View File

@ -157,7 +157,7 @@ int Curl_parsenetrc(char *host,
} }
else if(state_password) { else if(state_password) {
strncpy(password, tok, PASSWORDSIZE-1); strncpy(password, tok, PASSWORDSIZE-1);
#if _NETRC_DEBUG #ifdef _NETRC_DEBUG
printf("PASSWORD: %s\n", password); printf("PASSWORD: %s\n", password);
#endif #endif
state_password=0; state_password=0;