mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
cleanup, creating a new legacy.c module, made sure make tests ran in
* Makefile.am: cleanup, creating a new legacy.c module, made sure make tests ran in reduced conditions * SAX.c SAX2.c configure.in entities.c globals.c parser.c parserInternals.c tree.c valid.c xlink.c xmlIO.c xmlcatalog.c xmlmemory.c xpath.c xmlmemory.c include/libxml/xmlversion.h.in: increased the modularization, allow to configure out validation code and legacy code, added a configuration option --with-minimum compiling only the mandatory code which then shrink to 200KB. Daniel
This commit is contained in:
4
xpath.c
4
xpath.c
@ -52,6 +52,7 @@
|
||||
#include <libxml/threads.h>
|
||||
#include <libxml/globals.h>
|
||||
|
||||
#if defined(LIBXML_SCHEMAS_ENABLED) || defined(LIBXML_XPATH_ENABLED)
|
||||
/************************************************************************
|
||||
* *
|
||||
* Floating point stuff *
|
||||
@ -119,6 +120,8 @@ xmlXPathIsInf(double val) {
|
||||
return(trio_isinf(val));
|
||||
}
|
||||
|
||||
#endif /* SCHEMAS or XPATH */
|
||||
#ifdef LIBXML_XPATH_ENABLED
|
||||
/**
|
||||
* xmlXPathGetSign:
|
||||
* @val: a double value
|
||||
@ -135,7 +138,6 @@ xmlXPathGetSign(double val) {
|
||||
}
|
||||
|
||||
|
||||
#ifdef LIBXML_XPATH_ENABLED
|
||||
/*
|
||||
* TODO: when compatibility allows remove all "fake node libxslt" strings
|
||||
* the test should just be name[0] = ' '
|
||||
|
Reference in New Issue
Block a user