On Sun, 26 Jul 2015, Martin Storsjö wrote:

If _WIN32_WINNT is unset, we force it to a new enough value to
make sure the necessary definitions are visible.

When targeting Windows Phone or Windows RT, _WIN32_WINNT should
be at least 0x0602 - otherwise the windows headers themselves
can cause errors (which technically are bugs in the headers).

Raising this value here shouldn't hurt; the alternative would
be to not touch it at all if WINAPI_FAMILY is set to phone/app,
or to force setting it to 0x0602 in configure if unset (for phone/app).
---
Consistently using 0x0602 instead of 0x0600 in all places now.
---
configure            | 2 +-
libavcodec/d3d11va.h | 4 ++--
libavcodec/dxva2.h   | 4 ++--
3 files changed, 5 insertions(+), 5 deletions(-)

Since this was what was suggested in the previous version of the patch, I'll take that as an implicit ok for this one.

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

Reply via email to