configure: msvc: Set the target windows version to XP if no target is set
authorMartin Storsjö <martin@martin.st>
Wed, 15 May 2013 20:51:49 +0000 (23:51 +0300)
committerMartin Storsjö <martin@martin.st>
Sun, 19 May 2013 15:22:32 +0000 (18:22 +0300)
commit0b6899f154347cdd0aa66c5ec16ed9c65871766f
treee14b198280b3b76e47b61d7ee1a6693d151c44c4
parente45d6222cc925f491a83f82d37c3b02fa69b8e02
configure: msvc: Set the target windows version to XP if no target is set

MSVC 2010 (or more precisely, Windows SDK 7.0 which comes with MSVC
2010) sets _WIN32_WINNT to the constant for Windows 7 if nothing is
set. This could lead to the libav configure script detecting and
using functions only present in Windows 7 or newer, which in most
cases isn't desired. If the caller explicitly wants this, the caller
can add the _WIN32_WINNT define via --extra-cflags, setting the desired
version.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure