mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
Build fix for Android NDK which has neither futimes nor futimens
Based on a patch by Neil Henning! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -545,6 +545,11 @@ inline error_code file_size(const Twine &Path, uint64_t &Result) {
|
||||
return error_code::success();
|
||||
}
|
||||
|
||||
/// @brief Set the file modification and access time.
|
||||
///
|
||||
/// @returns errc::success if the file times were successfully set, otherwise a
|
||||
/// platform specific error_code or errc::not_supported on platforms
|
||||
/// where the functionality isn't available.
|
||||
error_code setLastModificationAndAccessTime(int FD, TimeValue Time);
|
||||
|
||||
/// @brief Is status available?
|
||||
|
Reference in New Issue
Block a user