Added a WINE_NO_UNICODE_MACROS define to allow Winelib apps to switch off the Unicode macros too.
diff --git a/include/oleidl.idl b/include/oleidl.idl index be323f6..c9e8aa0 100644 --- a/include/oleidl.idl +++ b/include/oleidl.idl
@@ -97,7 +97,7 @@ /* avoid conflict with Wine Unicode macros */ -cpp_quote("#ifdef __WINESRC__") +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") cpp_quote("#undef TranslateAccelerator") cpp_quote("#endif") @@ -335,7 +335,7 @@ OLECONTF_ONLYIFRUNNING = 16 } OLECONTF; -cpp_quote("#ifdef __WINESRC__") +cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") cpp_quote("#undef GetObject") cpp_quote("#endif") HRESULT GetObject(