From 17dc688ddccbcba49609e51cf987ff662fa3e335 Mon Sep 17 00:00:00 2001 From: Jacques Heunis Date: Sat, 4 Jun 2016 23:09:11 +0200 Subject: [PATCH] Move the E_NOTFOUND define out of wasapi.h --- src/wasapi.c | 3 +++ src/wasapi.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/wasapi.c b/src/wasapi.c index a120aa9..84bc695 100644 --- a/src/wasapi.c +++ b/src/wasapi.c @@ -25,6 +25,9 @@ #include +// Some HRESULT values are not defined by the windows headers +#define E_NOTFOUND 0x80070490 + #ifdef __cplusplus // In C++ mode, IsEqualGUID() takes its arguments by reference #define IS_EQUAL_GUID(a, b) IsEqualGUID(*(a), *(b)) diff --git a/src/wasapi.h b/src/wasapi.h index 968c401..5860f86 100644 --- a/src/wasapi.h +++ b/src/wasapi.h @@ -24,8 +24,6 @@ #include #include -#define E_NOTFOUND 0x80070490 - struct SoundIoPrivate; int soundio_wasapi_init(struct SoundIoPrivate *si);