summaryrefslogtreecommitdiff
path: root/src/utils/xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/xml')
-rw-r--r--src/utils/xml/libxml.inc2
-rw-r--r--src/utils/xml/pugixml.inc2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/xml/libxml.inc b/src/utils/xml/libxml.inc
index b342fe59d..1bf4fddd5 100644
--- a/src/utils/xml/libxml.inc
+++ b/src/utils/xml/libxml.inc
@@ -61,6 +61,8 @@ __XML_XMLWRITER_H__
(node)->xmlChildrenNode->content)
#define XmlFree(ptr) xmlFree(ptr)
#define XmlNodeDefault nullptr
+#define XmlChar char
+#define XmlConstChar const char
#endif // ENABLE_LIBXML
#endif // UTILS_XML_LIBXML_INC
diff --git a/src/utils/xml/pugixml.inc b/src/utils/xml/pugixml.inc
index 31ceee0eb..d8ef38242 100644
--- a/src/utils/xml/pugixml.inc
+++ b/src/utils/xml/pugixml.inc
@@ -47,6 +47,8 @@
#define XmlTextWriterStartDocument(writer, p1, p2, p3)
#define XmlTextWriterEndDocument(writer) (writer)->endDocument()
#define XmlFreeTextWriter(writer) delete writer
+#define XmlChar const char
+#define XmlConstChar const char
#endif // ENABLE_PUGIXML
#endif // UTILS_XML_PUGIXML_INC