0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-06-03 16:35:16 +00:00
Files
termux-packages/x11-packages/chromium-host-tools/cr-patches/1008-chromium-no-futimes.patch
2025-04-14 23:50:29 +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/