[libav-devel] [PATCH 01/10] dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600

2015-07-26 Thread Martin Storsjö
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

Re: [libav-devel] [PATCH 01/10] dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600

2015-07-26 Thread Hendrik Leppkes
On Sun, Jul 26, 2015 at 11:57 AM, Martin Storsjö mar...@martin.st 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

Re: [libav-devel] [PATCH 01/10] dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600

2015-07-26 Thread Jean-Baptiste Kempf
On 26 Jul, Martin Storsjö wrote : If _WIN32_WINNT is unset, we force it to a new enough value to make sure the necessary definitions are visible. Yes. When targeting Windows Phone or Windows RT, _WIN32_WINNT should be at least 0x0602 - otherwise the windows headers themselves can cause

Re: [libav-devel] [PATCH 01/10] dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600

2015-07-26 Thread Martin Storsjö
On Sun, 26 Jul 2015, Hendrik Leppkes wrote: On Sun, Jul 26, 2015 at 11:57 AM, Martin Storsjö mar...@martin.st 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

Re: [libav-devel] [PATCH 01/10] dxva2/d3d11va: Set _WIN32_WINNT to 0x0602 instead of 0x0600

2015-07-26 Thread Steve Lhomme
On Sun, Jul 26, 2015 at 12:57 PM, Jean-Baptiste Kempf j...@videolan.org wrote: On 26 Jul, Martin Storsjö wrote : If _WIN32_WINNT is unset, we force it to a new enough value to make sure the necessary definitions are visible. Yes. When targeting Windows Phone or Windows RT, _WIN32_WINNT