From 4432df239b7aba6bff86c838e0be11d08f283b76 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Sun, 28 Sep 2003 18:58:27 +0000 Subject: 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 --- xlink.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlink.c') diff --git a/xlink.c b/xlink.c index d7fc6029..4454d173 100644 --- a/xlink.c +++ b/xlink.c @@ -11,6 +11,7 @@ #define IN_LIBXML #include "libxml.h" +#ifdef LIBXML_XPTR_ENABLED #include /* for memset() only */ #ifdef HAVE_CTYPE_H #include @@ -177,3 +178,4 @@ xlinkIsLink (xmlDocPtr doc, xmlNodePtr node) { if (role != NULL) xmlFree(role); return(ret); } +#endif /* LIBXML_XPTR_ENABLED */ -- cgit v1.2.1