Skip to content

Commit

Permalink
Bug 1430149 - widl compatibility fixes. r=aklotz
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cjacek committed Dec 25, 2018
1 parent facaa2f commit 28ddbf3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion accessible/ipc/win/handler/AccessibleHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 3 additions & 1 deletion accessible/ipc/win/handler/HandlerData.idl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include "AccessibleHandler.h"

import "ocidl.idl";
import "ServProv.idl";
import "servprov.idl";

import "Accessible2_3.idl";
import "AccessibleHypertext2.idl";
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 28ddbf3

Please sign in to comment.