configure: Enable the strtod workaround when building for bionic
Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
03ece7b040
commit
5b2b0b912d
3
configure
vendored
3
configure
vendored
@ -3210,6 +3210,9 @@ elif check_func_headers stdlib.h _get_doserrno; then
|
|||||||
check_cpp_condition stdlib.h "defined(_WIN32_WINNT)" || add_cppflags -D_WIN32_WINNT=0x0502
|
check_cpp_condition stdlib.h "defined(_WIN32_WINNT)" || add_cppflags -D_WIN32_WINNT=0x0502
|
||||||
elif check_cpp_condition stddef.h "defined __KLIBC__"; then
|
elif check_cpp_condition stddef.h "defined __KLIBC__"; then
|
||||||
libc_type=klibc
|
libc_type=klibc
|
||||||
|
elif check_cpp_condition sys/cdefs.h "defined __BIONIC__"; then
|
||||||
|
libc_type=bionic
|
||||||
|
add_compat strtod.o strtod=avpriv_strtod
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -n "$libc_type" && enable $libc_type
|
test -n "$libc_type" && enable $libc_type
|
||||||
|
Loading…
x
Reference in New Issue
Block a user