Commit 88a35699 authored by Martin Storsjö's avatar Martin Storsjö

configure: Don't try to enable the log2 function on msvcrt

Some msvcrt versions (the static 64 bit libc in MSVC 10) have
a log2 function, but there is no declaration for it in the headers.
Therefore, the normal configure check might find it, but it can fail
during build or at runtime, depending on whether implicit function
declarations are an error or not.

Therefore simply ignore this function on this platform.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent a84edbac
...@@ -1381,6 +1381,8 @@ need_memalign="altivec neon sse" ...@@ -1381,6 +1381,8 @@ need_memalign="altivec neon sse"
symver_if_any="symver_asm_label symver_gnu_asm" symver_if_any="symver_asm_label symver_gnu_asm"
log2_deps="!msvcrt"
# subsystems # subsystems
dct_select="rdft" dct_select="rdft"
mdct_select="fft" mdct_select="fft"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment