Added a guard around the interface file to stop #include'ing exdisp.h before or after MozillaBrowser.h from breaking a build

git-svn-id: svn://10.0.0.236/trunk@55632 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
locka%iol.ie 1999-12-07 23:01:28 +00:00
parent a44e398c1f
commit a2ff8a9338

View File

@ -23,9 +23,14 @@ library MOZILLACONTROLLib
importlib("stdole32.tlb");
importlib("stdole2.tlb");
// Stop interfaces and other bits from being redefined by the IE header file
cpp_quote("#ifndef __exdisp_h__")
cpp_quote("#define __exdisp_h__")
// NOTE: There is a very specific reason for repeating the IWebBrowser
// verbatim rather than import'ing exdisp.idl - it stops MIDL
// failing with a MIDL2020 error!
// and other bits verbatim rather than import'ing exdisp.idl -
// MIDL fails with a MIDL2020 error if we try that!
[
uuid(EAB22AC1-30C1-11CF-A7EB-0000C05BAE0B), // IID_IWebBrowser
@ -423,4 +428,6 @@ library MOZILLACONTROLLib
[source] dispinterface DWebBrowserEvents;
[default, source] dispinterface DWebBrowserEvents2;
};
cpp_quote("#endif")
};