| 1 | // ACME - a crossassembler for producing 6502/65c02/65816/65ce02 code. |
| 2 | // Copyright (C) 1998-2024 Marco Baye |
| 3 | // Have a look at "acme.c" for further info |
| 4 | // |
| 5 | // Platform specific stuff (in this case, for unknown OSes) |
| 6 | #ifndef platform_C |
| 7 | #define platform_C |
| 8 | |
| 9 | |
| 10 | // convert UNIX-style path name to local platform style path name and decide |
| 11 | // whether path is absolute or relative. p points to the terminated input |
| 12 | // string, to be overwritten with the terminated output string. |
| 13 | // conversions done: |
| 14 | // (none, really) |
| 15 | void platform_convert_path(boolean *is_absolute, char *p) |
| 16 | { |
| 17 | *is_absolute = (*p == '/'); |
| 18 | // ...no need to really "convert" anything... |
| 19 | } |
| 20 | |
| 21 | |
| 22 | #endif |