]> git.sesse.net Git - ffmpeg/commit
configure: Don't try to enable the log2 function on msvcrt
authorMartin Storsjö <martin@martin.st>
Mon, 10 Sep 2012 12:34:51 +0000 (15:34 +0300)
committerMartin Storsjö <martin@martin.st>
Mon, 10 Sep 2012 14:23:32 +0000 (17:23 +0300)
commit88a3569917c817ecaa9982cea1f022b34d986390
tree45c6158707fc735960fd33fb9a1fbd8f6ee89c6c
parenta84edbacaf5adbe6e3672851aa8b3034b95787e2
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: Martin Storsjö <martin@martin.st>
configure