diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-21 05:25:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-21 05:25:21 +0300 |
commit | 01ac8bad77156f50ba57ddff5306714dc3815ef3 (patch) | |
tree | 5595cba954c4ea6c7a656a165fb2f39860918096 /src/utils | |
parent | 62fa493303fe3c191706090606ada885eaf184f5 (diff) | |
download | manaplus-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.gz manaplus-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.bz2 manaplus-01ac8bad77156f50ba57ddff5306714dc3815ef3.tar.xz manaplus-01ac8bad77156f50ba57ddff5306714dc3815ef3.zip |
Fix compilation with pugixml.
Add macroses for XmlChar and XmlConstChar.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/xml/libxml.inc | 2 | ||||
-rw-r--r-- | src/utils/xml/pugixml.inc | 2 |
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 |