Bug 1430149 - widl compatibility fixes. r=aklotz

widl can't handle generating the typelib without explicit importlib() in this case. This should be fixed in widl as well, but using importlib() in this case looks right anyway.
This commit is contained in:
Jacek Caban 2018-12-25 18:49:23 +01:00
Родитель 5b9bc7c151
Коммит 2957a4743d
2 изменённых файлов: 4 добавлений и 2 удалений

Просмотреть файл

@ -22,7 +22,7 @@
#define IIDFOR(iface) __GENIID(iface)
#define NEWEST_IA2_IID IIDFOR(NEWEST_IA2_INTERFACE)
#if defined(__midl)
#if defined(__midl) || defined(__WIDL__)
import NEWEST_IA2_IDL;

Просмотреть файл

@ -8,7 +8,7 @@
#include "AccessibleHandler.h"
import "ocidl.idl";
import "ServProv.idl";
import "servprov.idl";
import "Accessible2_3.idl";
import "AccessibleHypertext2.idl";
@ -185,6 +185,8 @@ interface IGeckoBackChannel : IUnknown
[uuid(1e545f07-f108-4912-9471-546827a80983)]
library AccessibleHandlerTypeLib
{
importlib("stdole2.tlb");
/**
* This definition is required in order for the handler implementation to
* support IDispatch (aka Automation). This is used by interpreted language