Author: tkreuzer
Date: Mon Jun 20 15:28:00 2011
New Revision: 52386
URL:
http://svn.reactos.org/svn/reactos?rev=52386&view=rev
Log:
[PSDK]
Add midl compatible include guard
Modified:
trunk/reactos/include/psdk/msxml2.idl
trunk/reactos/include/psdk/msxml6.idl
Modified: trunk/reactos/include/psdk/msxml2.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/msxml2.idl?re…
==============================================================================
--- trunk/reactos/include/psdk/msxml2.idl [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/msxml2.idl [iso-8859-1] Mon Jun 20 15:28:00 2011
@@ -107,9 +107,9 @@
cpp_quote("#define DOMDocument DOMDocument2")
cpp_quote("#define CLSID_DOMDocument CLSID_DOMDocument2")
-cpp_quote("#ifndef __WIDL_XMLDOM_H")
-typedef enum tagDOMNodeType
-{
+cpp_quote("#if !defined(__WIDL_XMLDOM_H) && !defined(__xmldom_h__)")
+typedef enum tagDOMNodeType
+{
NODE_INVALID = 0,
NODE_ELEMENT = 1,
NODE_ATTRIBUTE = 2,
Modified: trunk/reactos/include/psdk/msxml6.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/msxml6.idl?re…
==============================================================================
--- trunk/reactos/include/psdk/msxml6.idl [iso-8859-1] (original)
+++ trunk/reactos/include/psdk/msxml6.idl [iso-8859-1] Mon Jun 20 15:28:00 2011
@@ -113,7 +113,7 @@
cpp_quote("#define DOMDocument DOMDocument2")
cpp_quote("#define CLSID_DOMDocument CLSID_DOMDocument2")
-cpp_quote("#ifndef __WIDL_XMLDOM_H")
+cpp_quote("#if !defined(__WIDL_XMLDOM_H) && !defined(__xmldom_h__)")
typedef enum tagDOMNodeType
{
NODE_INVALID = 0,