0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 13:46:16 +00:00
termux-packages/x11-packages/qt5-qtwebengine/0008-chromium-no-futimes.patch
2023-01-06 21:22:56 +00:00

12 lines
418 B
Diff

--- a/src/3rdparty/chromium/base/files/file_posix.cc
+++ b/src/3rdparty/chromium/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/