summaryrefslogtreecommitdiff
path: root/xlink.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-09-28 18:58:27 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-09-28 18:58:27 +0000
commit4432df239b7aba6bff86c838e0be11d08f283b76 (patch)
treea12cc42ee7a3e819404c2b8816386f320aab812c /xlink.c
parent9ee35f36437073d952bc88fd64cf1618aad27c7b (diff)
downloadlibxml2-4432df239b7aba6bff86c838e0be11d08f283b76.tar.gz
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
Diffstat (limited to 'xlink.c')
-rw-r--r--xlink.c2
1 files changed, 2 insertions, 0 deletions
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 <string.h> /* for memset() only */
#ifdef HAVE_CTYPE_H
#include <ctype.h>
@@ -177,3 +178,4 @@ xlinkIsLink (xmlDocPtr doc, xmlNodePtr node) {
if (role != NULL) xmlFree(role);
return(ret);
}
+#endif /* LIBXML_XPTR_ENABLED */