Huw Davies : msxml3: Add a guard around DOMNodeType just like in the PSDK, so that we can include version 2 and version 3 msxml headers simultaneously .

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 14 05:14:22 CST 2006


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Mon Nov 13 15:09:10 2006 +0000

msxml3: Add a guard around DOMNodeType just like in the PSDK, so that we can include version 2 and version 3 msxml headers simultaneously.

---

 include/msxml2.idl |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/msxml2.idl b/include/msxml2.idl
index b394699..dc50aad 100644
--- a/include/msxml2.idl
+++ b/include/msxml2.idl
@@ -47,6 +47,7 @@ interface IXTLRuntime;
 interface IXSLTemplate;
 interface IXSLProcessor;
 
+cpp_quote("#ifndef __WIDL_XMLDOM_H")
 typedef enum tagDOMNodeType 
 {  
     NODE_INVALID  		= 0,
@@ -63,6 +64,7 @@ typedef enum tagDOMNodeType
     NODE_DOCUMENT_FRAGMENT 	= 11,
     NODE_NOTATION 		= 12
 } DOMNodeType;
+cpp_quote("#endif   /* __WIDL_XMLDOM_H */")
 
 [
 local,




More information about the wine-cvs mailing list