mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
winks: undef windows SDK macros before redefining them
Redefining an already defined macro causes a warning from the msvc preprocessor https://bugzilla.gnome.org/show_bug.cgi?id=774293
This commit is contained in:
parent
c7ee3b5d5f
commit
83d8f1eb20
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@
|
|||
/* This plugin is from the era of Windows XP and uses APIs that have been
|
||||
* deprecated since then. Let's pretend we're Windows XP too so that Windows
|
||||
* lets us use that deprecated API. */
|
||||
#undef NTDDI_VERSION
|
||||
#undef _WIN32_WINNT
|
||||
#define NTDDI_VERSION NTDDI_WINXP
|
||||
#define _WIN32_WINNT _WIN32_WINNT_WINXP
|
||||
|
||||
|
|
Loading…
Reference in a new issue