Alexandre Julliard : include: Add compatibility macros for non-widl compilers.

Alexandre Julliard julliard at winehq.org
Wed May 25 11:28:12 CDT 2011


Module: wine
Branch: master
Commit: ea9750d773ded6b86a3e28f38666b8376f984d07
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=ea9750d773ded6b86a3e28f38666b8376f984d07

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue May 24 23:58:55 2011 +0200

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(+), 0 deletions(-)

diff --git a/include/msxml2.idl b/include/msxml2.idl
index f9c10ef..6680518 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 45e9f13..a388592 100644
--- a/include/xmldom.idl
+++ b/include/xmldom.idl
@@ -19,6 +19,12 @@
 #include <xmldomdid.h>
 #include <idispids.h>
 
+#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 cde98dc..86f2a3a 100644
--- a/include/xmldso.idl
+++ b/include/xmldso.idl
@@ -19,6 +19,12 @@
 #include <idispids.h>
 #include <xmldsodid.h>
 
+#if !defined(progid) && !defined(__WIDL__)
+#define threading(model)
+#define progid(str)
+#define vi_progid(str)
+#endif
+
 interface IXMLDOMDocument;
 
 [




More information about the wine-cvs mailing list