aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Unix/Path.inc
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2014-06-30 18:57:04 +0000
committerAlp Toker <alp@nuanti.com>2014-06-30 18:57:04 +0000
commitb792a01e136887dee4151fc4ef45913f732dd047 (patch)
tree8a5a77ac09d784fe02e19eacab17c63f7ad824b5 /llvm/lib/Support/Unix/Path.inc
parent4c8dfe4d0fbe07f9203b2ad4a7fad2c423d47c58 (diff)
downloadllvm-b792a01e136887dee4151fc4ef45913f732dd047.zip
llvm-b792a01e136887dee4151fc4ef45913f732dd047.tar.gz
llvm-b792a01e136887dee4151fc4ef45913f732dd047.tar.bz2
Build fix for systems without futimes/futimens
Some versions of Android don't have futimes/futimens and this code wasn't updated during the recent errc refactoring. Patch by Luqman Aden! llvm-svn: 212055
Diffstat (limited to 'llvm/lib/Support/Unix/Path.inc')
-rw-r--r--llvm/lib/Support/Unix/Path.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/Path.inc b/llvm/lib/Support/Unix/Path.inc
index c9fae42..623547a 100644
--- a/llvm/lib/Support/Unix/Path.inc
+++ b/llvm/lib/Support/Unix/Path.inc
@@ -468,7 +468,7 @@ std::error_code setLastModificationAndAccessTime(int FD, TimeValue Time) {
return std::error_code();
#else
#warning Missing futimes() and futimens()
- return make_error_code(errc::not_supported);
+ return make_error_code(errc::function_not_supported);
#endif
}