diff options
author | Scott D Phillips <scott.d.phillips@intel.com> | 2016-11-11 10:55:57 -0800 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-11-12 10:53:02 +0200 |
commit | 83d8f1eb207dedbb34045160c5821e1b0ac9ebf7 (patch) | |
tree | 4adf8f42b5813d0000f7a10a44922fed0d69913f /sys | |
parent | c7ee3b5d5f1715fb00a8f1cac83da9098115f72b (diff) | |
download | gstreamer-plugins-bad-83d8f1eb207dedbb34045160c5821e1b0ac9ebf7.tar.gz |
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
Diffstat (limited to 'sys')
-rw-r--r-- | sys/winks/kshelpers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/winks/kshelpers.c b/sys/winks/kshelpers.c index 3b5ec28a4..e0c11237c 100644 --- a/sys/winks/kshelpers.c +++ b/sys/winks/kshelpers.c @@ -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 |