Skip to content
Snippets Groups Projects
Commit 0b6899f1 authored by Martin Storsjö's avatar Martin Storsjö
Browse files

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: default avatarMartin Storsjö <martin@martin.st>
parent e45d6222
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment