0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 13:03:31 +00:00
termux-packages/packages/flang/0004-do-not-call-timespec_get.patch
Chongyun Lee 0442d0b1f3 bump(flang): 18.1.8 to 19.1.1
Co-Authored-By: Lucy Phipps <landfillbaby69@gmail.com>
2024-10-03 03:46:13 +05:30

12 lines
361 B
Diff

--- a/flang/runtime/time-intrinsic.cpp
+++ b/flang/runtime/time-intrinsic.cpp
@@ -139,7 +139,7 @@
}
}
-#ifndef _AIX
+#if !defined(_AIX) && !(defined(__ANDROID__) && __ANDROID__ < 29)
// This is the fallback implementation, which should work everywhere.
template <typename Unused = void>
count_t GetSystemClockCount(int kind, fallback_implementation) {