ndk-patches: use standard futimesat function
Without extra flags arg.
This commit is contained in:
parent
6e23518ff0
commit
208143116d
|
@ -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
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue