blob: c767f5abd03dc9b3c5892c0a8bdf563348e4de69 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- cegui/src/XMLParserModules/Libxml2/XMLParser.cpp.orig 2016-04-23 18:19:40 UTC
+++ cegui/src/XMLParserModules/Libxml2/XMLParser.cpp
@@ -99,7 +99,11 @@ void LibxmlParser::parseXML(XMLHandler& handler,
if (!doc)
{
+#if LIBXML_VERSION >= 21200
+ const xmlError* err = xmlGetLastError();
+#else
xmlError* err = xmlGetLastError();
+#endif
CEGUI_THROW(GenericException(
String("xmlParseMemory failed in file: '") +
|