2016-12-28 20:32:00 +00:00
|
|
|
// ACME - a crossassembler for producing 6502/65c02/65816/65ce02 code.
|
2024-01-29 22:02:28 +00:00
|
|
|
// Copyright (C) 1998-2024 Marco Baye
|
2012-02-27 21:14:46 +00:00
|
|
|
// Have a look at "acme.c" for further info
|
|
|
|
//
|
|
|
|
// Platform specific stuff (in this case, for DOS, OS/2 and Windows)
|
|
|
|
#ifndef platform_C
|
|
|
|
#define platform_C
|
|
|
|
|
|
|
|
|
2020-05-19 16:28:36 +00:00
|
|
|
// convert UNIX-style pathname to DOS-style pathname
|
|
|
|
void DOS_convert_path(char *p)
|
2012-02-27 21:14:46 +00:00
|
|
|
{
|
2020-05-19 16:28:36 +00:00
|
|
|
while (*p) {
|
|
|
|
if (*p == '/') {
|
|
|
|
*p = '\\';
|
|
|
|
} else if (*p == '\\') {
|
|
|
|
*p = '/';
|
|
|
|
}
|
|
|
|
++p;
|
|
|
|
}
|
2012-02-27 21:14:46 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|