From f26ba0727e8a7abeb04097efeba419e196e67d62 Mon Sep 17 00:00:00 2001 From: nyorain Date: Mon, 4 Jul 2016 00:34:56 +0200 Subject: [PATCH] Only define E_NOTFOUND if not already defined --- src/wasapi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wasapi.c b/src/wasapi.c index 84bc695..634da83 100644 --- a/src/wasapi.c +++ b/src/wasapi.c @@ -26,7 +26,9 @@ #include // Some HRESULT values are not defined by the windows headers +#ifndef E_NOTFOUND #define E_NOTFOUND 0x80070490 +#endif //E_NOTFOUND #ifdef __cplusplus // In C++ mode, IsEqualGUID() takes its arguments by reference