include: Add inclusion guards for schema API enums.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2020-09-14 15:39:51 +03:00 committed by Alexandre Julliard
parent 3cd3b77522
commit 870ae19cf4
2 changed files with 6 additions and 0 deletions

View file

@ -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,

View file

@ -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,