[FFmpeg-devel] [PATCH] dxva2: Prevent redefinition of _WIN32_WINNT
tempn at twmi.rr.com
Fri Feb 8 16:06:39 CET 2013
On Fri, 8 Feb 2013 13:11:14 +0100, Michael Niedermayer wrote:
>On Fri, Feb 08, 2013 at 12:30:15AM -0500, compn wrote:
>> On Fri, 8 Feb 2013 01:17:06 -0300, James Almer wrote:
>> >Don't redefine _WIN32_WINNT when targeting Win7/8
>> >+#if defined(_WIN32_WINNT) && _WIN32_WINNT < 0x0600
>> >+#undef _WIN32_WINNT
>> >+#if !defined(_WIN32_WINNT)
>> > #define _WIN32_WINNT 0x0600
>> i think you can merge these?
>they arent exclusive, with _WIN32_WINNT < 0x0600 they both are needed
oh i was confusing else with ifndef.
back to learning for me :)
More information about the ffmpeg-devel