summaryrefslogtreecommitdiff
path: root/support/lib
diff options
context:
space:
mode:
Diffstat (limited to 'support/lib')
-rw-r--r--support/lib/Support/SystemUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/lib/Support/SystemUtils.cpp b/support/lib/Support/SystemUtils.cpp
index aca9e5a402..ec0bcb3296 100644
--- a/support/lib/Support/SystemUtils.cpp
+++ b/support/lib/Support/SystemUtils.cpp
@@ -20,7 +20,7 @@
/// removeFile - Delete the specified file
///
void removeFile(const std::string &Filename) {
- unlink(Filename.c_str());
+ std::remove(Filename.c_str());
}
/// getUniqueFilename - Return a filename with the specified prefix. If the