Huw Davies : winecoreaudio: Undefine a few more items to prevent macro redefinition warnings.

Alexandre Julliard julliard at winehq.org
Wed Mar 3 15:47:30 CST 2021


Module: wine
Branch: master
Commit: 0c2defd9cc3461e2a956a8e1840d5a224fb4d396
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=0c2defd9cc3461e2a956a8e1840d5a224fb4d396

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Mar  3 14:49:04 2021 +0000

winecoreaudio: Undefine a few more items to prevent macro redefinition warnings.

Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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"
 




More information about the wine-cvs mailing list