From ea9750d773ded6b86a3e28f38666b8376f984d07 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 24 May 2011 23:58:55 +0200 Subject: [PATCH] include: Add compatibility macros for non-widl compilers. --- include/msxml2.idl | 6 ++++++ include/xmldom.idl | 6 ++++++ include/xmldso.idl | 6 ++++++ 3 files changed, 18 insertions(+) diff --git a/include/msxml2.idl b/include/msxml2.idl index f9c10efcfc2..66805185c4b 100644 --- a/include/msxml2.idl +++ b/include/msxml2.idl @@ -25,6 +25,12 @@ import "unknwn.idl"; import "objidl.idl"; import "oaidl.idl"; +#if !defined(progid) && !defined(__WIDL__) +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + [ uuid(f5078f18-c551-11d3-89b9-0000f81fe221), version(3.0), diff --git a/include/xmldom.idl b/include/xmldom.idl index 45e9f138594..a38859252a2 100644 --- a/include/xmldom.idl +++ b/include/xmldom.idl @@ -19,6 +19,12 @@ #include #include +#if !defined(progid) && !defined(__WIDL__) +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + interface IXMLDOMImplementation; interface IXMLDOMNode; interface IXMLDOMDocumentFragment; diff --git a/include/xmldso.idl b/include/xmldso.idl index cde98dc89b0..86f2a3a86b9 100644 --- a/include/xmldso.idl +++ b/include/xmldso.idl @@ -19,6 +19,12 @@ #include #include +#if !defined(progid) && !defined(__WIDL__) +#define threading(model) +#define progid(str) +#define vi_progid(str) +#endif + interface IXMLDOMDocument; [