diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-11-30 18:14:32 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2012-11-30 18:32:06 +0400 |
commit | 4d21cdf7b7754175e31aa51b226e6beb3d28c636 (patch) | |
tree | 5374980c21d43d0e659deeae29a1412b5a30b9e4 /build_ffmpeg.sh | |
parent | 237f0dd0d43a4f1da3341dea2e9baa9ab6e60972 (diff) |
Define _WIN32_WINNT and WINVER to 0x0502 to specify XP SP2 as the minimal supported OS.
Diffstat (limited to 'build_ffmpeg.sh')
-rw-r--r-- | build_ffmpeg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build_ffmpeg.sh b/build_ffmpeg.sh index a78fc2c5..c8957d76 100644 --- a/build_ffmpeg.sh +++ b/build_ffmpeg.sh @@ -76,7 +76,7 @@ configure() ( --build-suffix=-lav \ --arch=${arch}" - EXTRA_CFLAGS="-I../thirdparty/include -idirafter../common/includes/dxva2" + EXTRA_CFLAGS="-D_WIN32_WINNT=0x0502 -DWINVER=0x0502 -I../thirdparty/include -idirafter../common/includes/dxva2" EXTRA_LDFLAGS="" if [ "${arch}" == "x86_64" ]; then OPTIONS="${OPTIONS} --enable-cross-compile --cross-prefix=x86_64-w64-mingw32- --target-os=mingw32" |