From 3751065f9740244c95da963c0dd16a0bcd5b419c Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Tue, 27 Sep 2016 22:44:18 +1000 Subject: win32: build with -DINITGUID We always want to use __declspec(selectany) to declare GUIDs, but manually including in every file that used GUIDs was error-prone. Since all does is define INITGUID and include , we can remove all references to and just compile with -DINITGUID to get the same effect. Also, this partially reverts 622bcb0 by re-adding libuuid.a to the build, since apparently some GUIDs (such as GUID_NULL) are not declared in the source file, even when INITGUID is set. --- audio/out/ao_wasapi_changenotify.c | 1 - audio/out/ao_wasapi_utils.c | 1 - 2 files changed, 2 deletions(-) (limited to 'audio') diff --git a/audio/out/ao_wasapi_changenotify.c b/audio/out/ao_wasapi_changenotify.c index 46843ec5e3..e1b3a9d604 100644 --- a/audio/out/ao_wasapi_changenotify.c +++ b/audio/out/ao_wasapi_changenotify.c @@ -17,7 +17,6 @@ * License along with mpv. If not, see . */ -#include #include #include "ao_wasapi.h" diff --git a/audio/out/ao_wasapi_utils.c b/audio/out/ao_wasapi_utils.c index 6218153bea..320bb6767b 100644 --- a/audio/out/ao_wasapi_utils.c +++ b/audio/out/ao_wasapi_utils.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include #include -- cgit v1.2.3