summaryrefslogtreecommitdiff
path: root/src/utils/xml/pugixml.inc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-21 05:25:21 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-21 05:25:21 +0300
commit01ac8bad77156f50ba57ddff5306714dc3815ef3 (patch)
tree5595cba954c4ea6c7a656a165fb2f39860918096 /src/utils/xml/pugixml.inc
parent62fa493303fe3c191706090606ada885eaf184f5 (diff)
downloadplus-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.gz
plus-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.bz2
plus-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.xz
plus-01ac8bad77156f50ba57ddff5306714dc3815ef3.zip
Fix compilation with pugixml.
Add macroses for XmlChar and XmlConstChar.
Diffstat (limited to 'src/utils/xml/pugixml.inc')
-rw-r--r--src/utils/xml/pugixml.inc2
1 files changed, 2 insertions, 0 deletions
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