mirror of
https://github.com/curl/curl.git
synced 2026-08-03 20:20:34 +03:00
proper symbol definition check for all AmigaOS flavours
This commit is contained in:
parent
dd433679e6
commit
be8a5d0aef
10 changed files with 67 additions and 20 deletions
|
|
@ -2555,7 +2555,7 @@ static int parseconfig(const char *filename,
|
|||
|
||||
#define CURLRC DOT_CHAR "curlrc"
|
||||
|
||||
#ifndef AMIGA
|
||||
#ifndef __AMIGA__
|
||||
filename = CURLRC; /* sensible default */
|
||||
home = homedir(); /* portable homedir finder */
|
||||
if(home) {
|
||||
|
|
@ -2604,7 +2604,7 @@ static int parseconfig(const char *filename,
|
|||
free(home); /* we've used it, now free it */
|
||||
}
|
||||
|
||||
# else /* AmigaOS */
|
||||
# else /* __AMIGA__ */
|
||||
/* On AmigaOS all the config files are into env:
|
||||
*/
|
||||
filename = "ENV:" CURLRC;
|
||||
|
|
@ -4462,7 +4462,7 @@ show_error:
|
|||
}
|
||||
}
|
||||
#endif
|
||||
#ifdef AMIGA
|
||||
#ifdef __AMIGA__
|
||||
/* Set the url as comment for the file. (up to 80 chars are allowed)
|
||||
*/
|
||||
if( strlen(url) > 78 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue