Skip to content

Commit baf2a3a

Browse files
committed
Fixed check for copy_file_range on Android
AC_CHECK_FUNCS apparently doesn't take into account the __ANDROID_API__ level properly and so incorrectly determines that copy_file_range is available for termux at API 24 but copy_file_range is <= 34. Ticket: none Changelog: none
1 parent 0028a3d commit baf2a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ AC_CHECK_DECLS([FALLOC_FL_PUNCH_HOLE], [], [], [
912912
])
913913
AC_CHECK_HEADERS([sys/sendfile.h])
914914
AC_CHECK_FUNCS([sendfile])
915-
AC_CHECK_FUNCS([copy_file_range])
915+
AC_CHECK_DECL([copy_file_range])
916916

917917

918918
dnl #######################################################################

0 commit comments

Comments
 (0)