diff --git a/include/unknwn.idl b/include/unknwn.idl index 9071973fbe1..d6799f45b21 100644 --- a/include/unknwn.idl +++ b/include/unknwn.idl @@ -20,7 +20,10 @@ import "wtypes.idl"; #endif -/* Interfaces */ +cpp_quote("#ifdef WIDL_C_INLINE_WRAPPERS") +cpp_quote("#define SAVE_WIDL_C_INLINE_WRAPPERS") +cpp_quote("#undef WIDL_C_INLINE_WRAPPERS") +cpp_quote("#endif") [ local, @@ -39,6 +42,10 @@ interface IUnknown ULONG Release(); } +cpp_quote("#ifdef SAVE_WIDL_C_INLINE_WRAPPERS") +cpp_quote("#define WIDL_C_INLINE_WRAPPERS") +cpp_quote("#endif") + [ object, uuid(00000001-0000-0000-C000-000000000046),