include: Add compatibility macros for non-widl compilers.

This commit is contained in:
Alexandre Julliard 2011-05-24 23:58:55 +02:00
parent 96a5def678
commit ea9750d773
3 changed files with 18 additions and 0 deletions

View File

@ -25,6 +25,12 @@ import "unknwn.idl";
import "objidl.idl"; import "objidl.idl";
import "oaidl.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), uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
version(3.0), version(3.0),

View File

@ -19,6 +19,12 @@
#include <xmldomdid.h> #include <xmldomdid.h>
#include <idispids.h> #include <idispids.h>
#if !defined(progid) && !defined(__WIDL__)
#define threading(model)
#define progid(str)
#define vi_progid(str)
#endif
interface IXMLDOMImplementation; interface IXMLDOMImplementation;
interface IXMLDOMNode; interface IXMLDOMNode;
interface IXMLDOMDocumentFragment; interface IXMLDOMDocumentFragment;

View File

@ -19,6 +19,12 @@
#include <idispids.h> #include <idispids.h>
#include <xmldsodid.h> #include <xmldsodid.h>
#if !defined(progid) && !defined(__WIDL__)
#define threading(model)
#define progid(str)
#define vi_progid(str)
#endif
interface IXMLDOMDocument; interface IXMLDOMDocument;
[ [