Alistair Leslie-Hughes : include: Add inclusion guards for schema API enums.
Alexandre Julliard
julliard at winehq.org
Mon Sep 14 14:58:23 CDT 2020
Module: wine
Branch: master
Commit: 870ae19cf42a8bdfe570fb51e3a73a3d383c9406
URL: https://source.winehq.org/git/wine.git/?a=commit;h=870ae19cf42a8bdfe570fb51e3a73a3d383c9406
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Mon Sep 14 15:39:51 2020 +0300
include: Add inclusion guards for schema API enums.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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..452338bb01 100644
--- a/include/msxml2.idl
+++ b/include/msxml2.idl
@@ -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,
diff --git a/include/msxml6.idl b/include/msxml6.idl
index 1f657a8cde..a595fbf4f5 100644
--- a/include/msxml6.idl
+++ b/include/msxml6.idl
@@ -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,
More information about the wine-cvs
mailing list