[FFmpeg-devel] [PATCH] dxva2: Prevent redefinition of _WIN32_WINNT

Michael Niedermayer michaelni at gmx.at
Fri Feb 8 13:11:14 CET 2013


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
> >+#endif
> >+
> >+#if !defined(_WIN32_WINNT)
> > #define _WIN32_WINNT 0x0600
> >+#endif
> >+
> 
> i think you can merge these?

they arent exclusive, with _WIN32_WINNT < 0x0600 they both are needed
together

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130208/bb59a236/attachment.asc>


More information about the ffmpeg-devel mailing list