Commit 870ae19c authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

include: Add inclusion guards for schema API enums.

parent 3cd3b775
......@@ -133,6 +133,8 @@ typedef enum tagDOMNodeType
} DOMNodeType;
cpp_quote("#endif")
cpp_quote("#ifndef __msxml_som_enums__")
cpp_quote("#define __msxml_som_enums__")
typedef enum _SOMITEMTYPE
{
SOMITEM_SCHEMA = 0x1000,
......@@ -260,6 +262,7 @@ typedef enum _SCHEMATYPEVARIETY
SCHEMATYPEVARIETY_LIST = 1,
SCHEMATYPEVARIETY_UNION = 2,
} SCHEMATYPEVARIETY;
cpp_quote("#endif /* __msxml_som_enums__ */")
[
local,
......
......@@ -133,6 +133,8 @@ typedef enum tagDOMNodeType
} DOMNodeType;
cpp_quote("#endif")
cpp_quote("#ifndef __msxml_som_enums__")
cpp_quote("#define __msxml_som_enums__")
typedef enum _SOMITEMTYPE
{
SOMITEM_SCHEMA = 0x1000,
......@@ -260,6 +262,7 @@ typedef enum _SCHEMATYPEVARIETY
SCHEMATYPEVARIETY_LIST = 1,
SCHEMATYPEVARIETY_UNION = 2,
} SCHEMATYPEVARIETY;
cpp_quote("#endif /* __msxml_som_enums__ */")
[
local,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment