mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-24 13:33:01 +03:00
schemas: Use private copy of global NaN and Inf
Simplify symbol availability logic.
This commit is contained in:
@@ -47629,7 +47629,7 @@ static int
|
||||
test_xmlXPathInit(void) {
|
||||
int test_ret = 0;
|
||||
|
||||
#if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
||||
#if defined(LIBXML_XPATH_ENABLED)
|
||||
int mem_base;
|
||||
|
||||
mem_base = xmlMemBlocks();
|
||||
@@ -47654,7 +47654,7 @@ static int
|
||||
test_xmlXPathIsInf(void) {
|
||||
int test_ret = 0;
|
||||
|
||||
#if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
||||
#if defined(LIBXML_XPATH_ENABLED)
|
||||
int mem_base;
|
||||
int ret_val;
|
||||
double val; /* a double value */
|
||||
@@ -47688,7 +47688,7 @@ static int
|
||||
test_xmlXPathIsNaN(void) {
|
||||
int test_ret = 0;
|
||||
|
||||
#if defined(LIBXML_XPATH_ENABLED) || defined(LIBXML_SCHEMAS_ENABLED)
|
||||
#if defined(LIBXML_XPATH_ENABLED)
|
||||
int mem_base;
|
||||
int ret_val;
|
||||
double val; /* a double value */
|
||||
|
||||
Reference in New Issue
Block a user