Commit 14b6f90
committed
Fix cc65 cpu.mac multiple inclusion error
- Create common/inc/cpu.inc with include guard for cpu macros
- Update apple2/apple2-6502/bus/sp_init.s to use guarded include
- Prevents 'Symbol already defined' errors when cpu.mac is included multiple times
This fixes the issue where ca65 was redefining CPU_ISET_* symbols
during compilation of assembly files.1 parent a6dccd3 commit 14b6f90
2 files changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments