0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-30 17:02:41 +00:00
Files
termux-packages/x11-packages/carbonyl-host-tools/patches/1008-chromium-no-futimes.patch
2025-02-01 17:05:51 +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/