From 699b00c427fb475834cb1f5fb1acf8641f8c4ca8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Londeix?= Date: Mon, 7 Dec 2015 03:26:57 +0100 Subject: [PATCH] Prevent WASAPI GUID from being re-defined in all compilation units. --- src/wasapi.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/wasapi.h b/src/wasapi.h index 5df3d44..5860f86 100644 --- a/src/wasapi.h +++ b/src/wasapi.h @@ -13,14 +13,13 @@ #include "list.h" #include "atomics.h" -#define INITGUID #define CINTERFACE #define COBJMACROS +#ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN +#endif #include #include -#include -#include #include #include #include