From da423da207ec877ed93a7b165c5ef6d6785e8940 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Wed, 10 Apr 2002 19:25:38 +0000 Subject: [PATCH] Silvan Minghetti pointed erroneous use of LIBXML_THREADS_ENABLED instead * xpath.c include/libxml/xmlwin32version.h.in: Silvan Minghetti pointed erroneous use of LIBXML_THREADS_ENABLED instead of LIBXML_THREAD_ENABLED Daniel --- ChangeLog | 6 ++++++ include/libxml/xmlwin32version.h | 2 +- include/libxml/xmlwin32version.h.in | 2 +- xpath.c | 4 ++-- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 44de2b7d..ebf88397 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Wed Apr 10 21:24:16 CEST 2002 Daniel Veillard + + * xpath.c include/libxml/xmlwin32version.h.in: Silvan Minghetti + pointed erroneous use of LIBXML_THREADS_ENABLED instead of + LIBXML_THREAD_ENABLED + Wed Apr 10 18:12:52 CEST 2002 Daniel Veillard * xpath.c: another patch from Richard Jinks for substring conformance diff --git a/include/libxml/xmlwin32version.h b/include/libxml/xmlwin32version.h index 7f68ec5e..1cdcd8b6 100644 --- a/include/libxml/xmlwin32version.h +++ b/include/libxml/xmlwin32version.h @@ -68,7 +68,7 @@ extern void xmlCheckVersion(int version); #endif /** - * LIBXML_THREADS_ENABLED: + * LIBXML_THREAD_ENABLED: * * Whether the thread support is configured in */ diff --git a/include/libxml/xmlwin32version.h.in b/include/libxml/xmlwin32version.h.in index 6d83fa3f..2ed3ffb0 100644 --- a/include/libxml/xmlwin32version.h.in +++ b/include/libxml/xmlwin32version.h.in @@ -68,7 +68,7 @@ extern void xmlCheckVersion(int version); #endif /** - * LIBXML_THREADS_ENABLED: + * LIBXML_THREAD_ENABLED: * * Whether the thread support is configured in */ diff --git a/xpath.c b/xpath.c index ad9c3ef8..da6d0888 100644 --- a/xpath.c +++ b/xpath.c @@ -70,7 +70,7 @@ static xmlNs xmlXPathXMLNamespaceStruct = { BAD_CAST "xml" }; static xmlNsPtr xmlXPathXMLNamespace = &xmlXPathXMLNamespaceStruct; -#ifndef LIBXML_THREADS_ENABLED +#ifndef LIBXML_THREAD_ENABLED /* * Optimizer is disabled only when threaded apps are detected while * the library ain't compiled for thread safety. @@ -392,7 +392,7 @@ static void xmlXPathCompSwap(xmlXPathStepOpPtr op) { int tmp; -#ifdef LIBXML_THREADS_ENABLED +#ifdef LIBXML_THREAD_ENABLED /* * Since this manipulates possibly shared variables, this is * disable if one detects that the library is used in a multithreaded