From be8a5d0aef8eef4236d7cd6ce2cd7eabf74006f4 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Wed, 28 Feb 2007 14:45:48 +0000 Subject: proper symbol definition check for all AmigaOS flavours --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.c') 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 ) -- cgit v1.2.3