Subject: Re: No "amiga" define in default compiler...
To: None <amiga-dev@sun-lamp.cs.berkeley.edu>
From: Jarkko Hietaniemi <jhi@alpha.hut.fi>
List: amiga-dev
Date: 03/10/1994 16:03:14
> Additionally, we should probably be using "__amiga__" as the define...

I *think* The Right Thing is to have __hosttype__, __hardware,
and _FLAVOR.  Thus:

	__amiga__, __mc68030, __mc68040, _BSD, _AMIGA_SOMETHING


This is, at least, what the newest C compilers under UNIX do:

	__unix__, __osf__, __alpha, _BSD, _SYSTYPE_BSD
	__unix__, _IBMR2, _AIX
	__unix__, __hp9000s700, __hppa, __hpux, __unix, _PA_RISC1_1
	__unix__, __sgi, __mips, _SYSTYPE_SVR4, _MIPSEB

Hmmm, __hpux and __unix seem to go somewhat against this rule.  And
_PA_RISC1_1 should be in my opinion __PA_RISC1_1 as __hppa is.  Oh, well.
Please ignore them :-)  The "unix", "bsd", etc. cpp defines are pre-ANSI.

++jhi;

------------------------------------------------------------------------------