Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-11-30 18:14:32 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2012-11-30 18:32:06 +0400
commit4d21cdf7b7754175e31aa51b226e6beb3d28c636 (patch)
tree5374980c21d43d0e659deeae29a1412b5a30b9e4 /build_ffmpeg_msvc.sh
parent237f0dd0d43a4f1da3341dea2e9baa9ab6e60972 (diff)
Define _WIN32_WINNT and WINVER to 0x0502 to specify XP SP2 as the minimal supported OS.
Diffstat (limited to 'build_ffmpeg_msvc.sh')
-rw-r--r--build_ffmpeg_msvc.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build_ffmpeg_msvc.sh b/build_ffmpeg_msvc.sh
index da476cda..ef9bb703 100644
--- a/build_ffmpeg_msvc.sh
+++ b/build_ffmpeg_msvc.sh
@@ -66,7 +66,9 @@ configure() (
--build-suffix=-lav \
--arch=${arch}"
- sh configure --toolchain=msvc --enable-debug ${OPTIONS}
+ EXTRA_CFLAGS="-D_WIN32_WINNT=0x0502 -DWINVER=0x0502"
+
+ sh configure --toolchain=msvc --enable-debug --extra-cflags="${EXTRA_CFLAGS}" ${OPTIONS}
)
build() (