Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com --- include/msxml2.idl | 3 +++ include/msxml6.idl | 3 +++ 2 files changed, 6 insertions(+)
diff --git a/include/msxml2.idl b/include/msxml2.idl index cfafc42133..9bf840fb5a 100644 --- a/include/msxml2.idl +++ b/include/msxml2.idl @@ -133,6 +133,8 @@ typedef enum tagDOMNodeType } DOMNodeType; cpp_quote("#endif")
+cpp_quote("#ifndef __MSXML_SOMTYPES_DEFINED") +cpp_quote("#define __MSXML_SOMTYPES_DEFINED") typedef enum _SOMITEMTYPE { SOMITEM_SCHEMA = 0x1000, @@ -260,6 +262,7 @@ typedef enum _SCHEMATYPEVARIETY SCHEMATYPEVARIETY_LIST = 1, SCHEMATYPEVARIETY_UNION = 2, } SCHEMATYPEVARIETY; +cpp_quote("#endif")
[ local, diff --git a/include/msxml6.idl b/include/msxml6.idl index 1f657a8cde..fe20d5c495 100644 --- a/include/msxml6.idl +++ b/include/msxml6.idl @@ -133,6 +133,8 @@ typedef enum tagDOMNodeType } DOMNodeType; cpp_quote("#endif")
+cpp_quote("#ifndef __MSXML_SOMTYPES_DEFINED") +cpp_quote("#define __MSXML_SOMTYPES_DEFINED") typedef enum _SOMITEMTYPE { SOMITEM_SCHEMA = 0x1000, @@ -260,6 +262,7 @@ typedef enum _SCHEMATYPEVARIETY SCHEMATYPEVARIETY_LIST = 1, SCHEMATYPEVARIETY_UNION = 2, } SCHEMATYPEVARIETY; +cpp_quote("#endif")
[ local,