| 1 | // |
| 2 | // ACME - a crossassembler for producing 6502/65c02/65816 code. |
| 3 | // Copyright (C) 1998-2006 Marco Baye |
| 4 | // Have a look at "acme.c" for further info |
| 5 | // |
| 6 | // Platform specific stuff |
| 7 | |
| 8 | #include "config.h" |
| 9 | #include "platform.h" |
| 10 | |
| 11 | |
| 12 | // Amiga |
| 13 | #ifdef _AMIGA |
| 14 | #ifndef platform_C |
| 15 | #define platform_C |
| 16 | // Nothing here - Amigas don't need no stinkin' platform-specific stuff! |
| 17 | #endif |
| 18 | #endif |
| 19 | |
| 20 | // DOS and OS/2 |
| 21 | #ifdef __DJGPP__ |
| 22 | #include "_dos.c" |
| 23 | #endif |
| 24 | #ifdef __OS2__ |
| 25 | #include "_dos.c" |
| 26 | #endif |
| 27 | //#ifdef __Windows__ |
| 28 | //#include "_dos.c" |
| 29 | //#endif |
| 30 | |
| 31 | // RISC OS |
| 32 | #ifdef __riscos__ |
| 33 | #include "_riscos.c" |
| 34 | #endif |
| 35 | |
| 36 | // add further platform files here |
| 37 | |
| 38 | // Unix/Linux/others (surprisingly also works on Windows) |
| 39 | #include "_std.c" |