Subject: Re: No "amiga" define in default compiler...
To: Stephen J. Roznowski <>
From: Fred Fish <>
List: amiga-dev
Date: 03/08/1994 23:35:07
> The default compiler built from the sun-lamp sources
> does not define "amiga". Can/Should this be fixed?

If it is "fixed", please do *not* use it to enable code that is Amiga
specific that is not also the correct code for AmigaDOS.  Use it in
conjuction with another define ("netbsd" ?) for netbsd'ish things.
Code that runs under AmigaDOS and that is compiled with gcc uses
"__amigados__", or in some cases, just "amigados", assuming that it is
enabling code that is just appropriate for the native OS and not of
more global scope (Amiga running any OS).  The gcc port also defines
"amiga" and "__amiga__".