On Mon, 18 Jun 2012, Måns Rullgård wrote:

Martin Storsjö <[email protected]> writes:

From: "Ronald S. Bultje" <[email protected]>

The check uses check_func_header, since this function is
conditionally available depending on the targeted MSVCRT
version.
---
 configure       |    4 +++-
 libavutil/mem.c |    6 ++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

LGTM

Were you able to test this both with and without the function visible?

Yes, if I added --extra-cflags=-D__MSVCRT_VERSION__=0x700, the function is detected, and the test fails without it.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to