Index: components/filesystem/futimens_android.cc |
diff --git a/components/filesystem/futimens_android.cc b/components/filesystem/futimens_android.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..5dbae662cb41f530ec88e7650f0771e886de8b64 |
--- /dev/null |
+++ b/components/filesystem/futimens_android.cc |
@@ -0,0 +1,13 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "components/filesystem/futimens.h" |
+ |
+extern "C" { |
+ |
+int futimens(int fd, const struct timespec times[2]) { |
+ return utimensat(fd, nullptr, times, 0); |
+} |
+ |
+} // extern "C" |