SCP: Support MKDIR and RMDIR commands when building with MinGW
This commit is contained in:
parent
2991ae067d
commit
716df3c297
1 changed files with 2 additions and 2 deletions
4
scp.c
4
scp.c
|
@ -6581,7 +6581,7 @@ while ((c = strchr (c, '/'))) {
|
|||
return sim_messagef (SCPE_ARG, "%s is not a directory\n", path);
|
||||
}
|
||||
if (
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_WIN32)
|
||||
mkdir (path)
|
||||
#else
|
||||
mkdir (path, 0777)
|
||||
|
@ -6592,7 +6592,7 @@ while ((c = strchr (c, '/'))) {
|
|||
++c;
|
||||
}
|
||||
if (
|
||||
#if defined(_MSC_VER)
|
||||
#if defined(_WIN32)
|
||||
mkdir (path)
|
||||
#else
|
||||
mkdir (path, 0777)
|
||||
|
|
Loading…
Add table
Reference in a new issue