0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-06-05 08:11:16 +00:00
Files
2025-05-12 15:06:25 +08:00

12 lines
374 B
Diff

--- a/base/files/file_posix.cc
+++ b/base/files/file_posix.cc
@@ -50,7 +50,7 @@
}
int CallFutimes(PlatformFile file, const struct timeval times[2]) {
-#ifdef __USE_XOPEN2K8
+#if defined(__USE_XOPEN2K8) || (defined(__ANDROID__) && __ANDROID_API__ < 26)
// futimens should be available, but futimes might not be
// http://pubs.opengroup.org/onlinepubs/9699919799/