diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-30 18:57:04 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-30 18:57:04 +0000 |
commit | b792a01e136887dee4151fc4ef45913f732dd047 (patch) | |
tree | 8a5a77ac09d784fe02e19eacab17c63f7ad824b5 /llvm/lib/Support/Unix/Path.inc | |
parent | 4c8dfe4d0fbe07f9203b2ad4a7fad2c423d47c58 (diff) | |
download | llvm-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.inc | 2 |
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 } |