diff options
Diffstat (limited to 'source/core/slang-io.cpp')
| -rw-r--r-- | source/core/slang-io.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/core/slang-io.cpp b/source/core/slang-io.cpp index a144c5892..83f21d5dd 100644 --- a/source/core/slang-io.cpp +++ b/source/core/slang-io.cpp @@ -42,9 +42,8 @@ namespace Slang } return SLANG_FAIL; #else - // https://linux.die.net/man/2/unlink - - if (unlink(fileName.getBuffer()) == 0) + // https://linux.die.net/man/3/remove + if (::remove(fileName.getBuffer()) == 0) { return SLANG_OK; } |
