mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-08 14:33:43 +00:00
Added XML_FEATURE_LARGE_SIZE to be able to detect if Expat was
compiled with XML_LARGE_SIZE - see XML_GetFeatureList().
This commit is contained in:
parent
b882b1259b
commit
8617df5d5e
2 changed files with 5 additions and 1 deletions
|
@ -983,7 +983,8 @@ enum XML_FeatureEnum {
|
|||
XML_FEATURE_MIN_SIZE,
|
||||
XML_FEATURE_SIZEOF_XML_CHAR,
|
||||
XML_FEATURE_SIZEOF_XML_LCHAR,
|
||||
XML_FEATURE_NS
|
||||
XML_FEATURE_NS,
|
||||
XML_FEATURE_LARGE_SIZE
|
||||
/* Additional features must be added to the end of this enum. */
|
||||
};
|
||||
|
||||
|
|
|
@ -1948,6 +1948,9 @@ XML_GetFeatureList(void)
|
|||
#ifdef XML_NS
|
||||
{XML_FEATURE_NS, XML_L("XML_NS"), 0},
|
||||
#endif
|
||||
#ifdef XML_LARGE_SIZE
|
||||
{XML_FEATURE_LARGE_SIZE, XML_L("XML_LARGE_SIZE"), 0},
|
||||
#endif
|
||||
{XML_FEATURE_END, NULL, 0}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue