1
0
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:
Nick Wellnhofer
2024-06-15 23:53:04 +02:00
parent b0fc67aa22
commit f307237e14
6 changed files with 39 additions and 127 deletions

View File

@@ -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 */