mirror of
https://github.com/cc65/cc65.git
synced 2024-12-22 12:30:41 +00:00
Updated documents about the predefined macros.
This commit is contained in:
parent
47d5e74a6e
commit
b93f9fbba4
@ -1202,17 +1202,34 @@ The compiler defines several macros at startup:
|
||||
|
||||
This macro is defined if the target is the Commodore Plus/4 (-t plus4).
|
||||
|
||||
<tag><tt>__STDC_HOSTED__</tt></tag>
|
||||
|
||||
This macro is expands to the integer constant 1.
|
||||
|
||||
<tag><tt>__SIM6502__</tt></tag>
|
||||
|
||||
This macro is defined if the target is sim65 in 6502 mode (-t sim6502).
|
||||
|
||||
<tag><tt>__SIM65C02__</tt></tag>
|
||||
|
||||
This macro is defined if the target is sim65 in 65C02 mode (-t sim65c02).
|
||||
|
||||
<tag><tt>__STDC_HOSTED__</tt></tag>
|
||||
|
||||
This macro expands to the integer constant 1.
|
||||
|
||||
<tag><tt>__STDC_NO_ATOMICS__</tt></tag>
|
||||
|
||||
This macro expands to the integer constant 1 if the language standard is cc65 (--standard cc65).
|
||||
|
||||
<tag><tt>__STDC_NO_COMPLEX__</tt></tag>
|
||||
|
||||
This macro expands to the integer constant 1 if the language standard is cc65 (--standard cc65).
|
||||
|
||||
<tag><tt>__STDC_NO_THREADS__</tt></tag>
|
||||
|
||||
This macro expands to the integer constant 1 if the language standard is cc65 (--standard cc65).
|
||||
|
||||
<tag><tt>__STDC_NO_VLA__</tt></tag>
|
||||
|
||||
This macro expands to the integer constant 1 if the language standard is cc65 (--standard cc65).
|
||||
|
||||
<tag><tt>__SUPERVISION__</tt></tag>
|
||||
|
||||
This macro is defined if the target is the Supervision (-t supervision).
|
||||
|
Loading…
Reference in New Issue
Block a user