Merge branch 'libxml2-parse-huge' of https://github.com/tarvip/mapnik into tarvip-libxml2-parse-huge
This commit is contained in:
commit
fa714f2a01
1 changed files with 6 additions and 0 deletions
|
@ -39,7 +39,13 @@
|
|||
// stl
|
||||
#include <stdexcept>
|
||||
|
||||
#if LIBXML_VERSION >= 20900
|
||||
#define DEFAULT_OPTIONS (XML_PARSE_NOERROR | XML_PARSE_NOENT | XML_PARSE_NOBLANKS | XML_PARSE_DTDLOAD | XML_PARSE_NOCDATA | XML_PARSE_HUGE | XML_PARSE_BIG_LINES)
|
||||
#elif LIBXML_VERSION >= 20703
|
||||
#define DEFAULT_OPTIONS (XML_PARSE_NOERROR | XML_PARSE_NOENT | XML_PARSE_NOBLANKS | XML_PARSE_DTDLOAD | XML_PARSE_NOCDATA | XML_PARSE_HUGE)
|
||||
#else
|
||||
#define DEFAULT_OPTIONS (XML_PARSE_NOERROR | XML_PARSE_NOENT | XML_PARSE_NOBLANKS | XML_PARSE_DTDLOAD | XML_PARSE_NOCDATA)
|
||||
#endif
|
||||
|
||||
namespace mapnik
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue