ndk-patches: use standard futimesat function

Without extra flags arg.
This commit is contained in:
Henrik Grimler 2024-03-30 18:29:28 +01:00
parent 6e23518ff0
commit 208143116d
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
-#if __ANDROID_API__ >= 26
-int futimesat(int __dir_fd, const char* __BIONIC_COMPLICATED_NULLNESS __path, const struct timeval __times[_Nullable 2]) __INTRODUCED_IN(26);
-#endif /* __ANDROID_API__ >= 26 */
+int futimesat(int __dir_fd, const char* __BIONIC_COMPLICATED_NULLNESS __path, const struct timeval __times[_Nullable 2], int flags);
+int futimesat(int __dir_fd, const char* __BIONIC_COMPLICATED_NULLNESS __path, const struct timeval __times[_Nullable 2]);
#endif

View File

@ -7,7 +7,7 @@ termux_step_setup_toolchain() {
# toolchain setup to ensure that everyone gets an updated
# toolchain
if [ "${TERMUX_NDK_VERSION}" = "26b" ]; then
TERMUX_STANDALONE_TOOLCHAIN+="-v2"
TERMUX_STANDALONE_TOOLCHAIN+="-v3"
termux_setup_toolchain_26b
elif [ "${TERMUX_NDK_VERSION}" = 23c ]; then
TERMUX_STANDALONE_TOOLCHAIN+="-v6"