Next: , Previous: Defines, Up: Defines


4.1 Symbols identifying machine

The following machine-identifying preprocessor symbols are available:

mc68000
This macro identifies the machine as having a CPU from the Motorola 68000 family.
amiga
amigaos
amigados
These macros identify the machine as being an Amiga, running the AmigaOS.
AMIGA
MCH_AMIGA
These macros are provided for compatibility with other AmigaOS ‘C’ compilers.
Note: These symbols are available in three groups: plain (as specified above), with two leading underscores, and with two leading and two tailing underscores. The plain ones are not available when compiling with the ‘-ansi’ option.

The ‘amigados’ symbol is obsolete and will be removed in future. Please use ‘amigaos’, which was first made available in the ‘GCC’ 2.7.2.1, ‘Geek Gadgets’ snapshot ‘961012’.