acme/src/_dos.c
marcobaye 640373c54f search paths (given via -I) are now also displayed in error messages.
also prepared filespecs to be relative to current file in next version.


git-svn-id: https://svn.code.sf.net/p/acme-crossass/code-0/trunk@357 4df02467-bbd4-4a76-a152-e7ce94205b78
2024-03-08 23:42:58 +00:00

25 lines
463 B
C

// ACME - a crossassembler for producing 6502/65c02/65816/65ce02 code.
// Copyright (C) 1998-2024 Marco Baye
// 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
// convert UNIX-style pathname to DOS-style pathname
void DOS_convert_path(char *p)
{
while (*p) {
if (*p == '/') {
*p = '\\';
} else if (*p == '\\') {
*p = '/';
}
++p;
}
}
#endif