[PATCH 1/2] winecoreaudio: Undefine a few more items to prevent macro redefinition warnings.

Huw Davies huw at codeweavers.com
Wed Mar 3 08:49:04 CST 2021


Signed-off-by: Huw Davies <huw at codeweavers.com>
---
 dlls/winecoreaudio.drv/audiounit.c | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/dlls/winecoreaudio.drv/audiounit.c b/dlls/winecoreaudio.drv/audiounit.c
index 5f20b3dcb25..a3c190870ad 100644
--- a/dlls/winecoreaudio.drv/audiounit.c
+++ b/dlls/winecoreaudio.drv/audiounit.c
@@ -30,6 +30,23 @@
 #undef ULONG
 #undef HRESULT
 #undef STDMETHODCALLTYPE
+#undef SUCCEEDED
+#undef FAILED
+#undef IS_ERROR
+#undef HRESULT_FACILITY
+#undef MAKE_HRESULT
+#undef S_OK
+#undef S_FALSE
+#undef E_UNEXPECTED
+#undef E_NOTIMPL
+#undef E_OUTOFMEMORY
+#undef E_INVALIDARG
+#undef E_NOINTERFACE
+#undef E_POINTER
+#undef E_HANDLE
+#undef E_ABORT
+#undef E_FAIL
+#undef E_ACCESSDENIED
 #include "coreaudio.h"
 #include "wine/debug.h"
 
-- 
2.23.0




More information about the wine-devel mailing list