diff options
author | Yang Tse <yangsita@gmail.com> | 2007-02-28 14:45:48 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-02-28 14:45:48 +0000 |
commit | be8a5d0aef8eef4236d7cd6ce2cd7eabf74006f4 (patch) | |
tree | e6c9b255bd43b7c5ec553731aa2e0f2f815a1193 /src/main.c | |
parent | dd433679e6cc5dbdf0ee26cc1ef111c3cfe64498 (diff) |
proper symbol definition check for all AmigaOS flavours
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index 571b9da55..a48be2437 100644 --- a/src/main.c +++ b/src/main.c @@ -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 ) |