1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-29 11:21:26 +03:00

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
This commit is contained in:
Daniel Veillard 2002-04-10 19:25:38 +00:00
parent 0eafdef988
commit da423da207
4 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
Wed Apr 10 21:24:16 CEST 2002 Daniel Veillard <daniel@veillard.com>
* 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 <daniel@veillard.com>
* xpath.c: another patch from Richard Jinks for substring conformance

View File

@ -68,7 +68,7 @@ extern void xmlCheckVersion(int version);
#endif
/**
* LIBXML_THREADS_ENABLED:
* LIBXML_THREAD_ENABLED:
*
* Whether the thread support is configured in
*/

View File

@ -68,7 +68,7 @@ extern void xmlCheckVersion(int version);
#endif
/**
* LIBXML_THREADS_ENABLED:
* LIBXML_THREAD_ENABLED:
*
* Whether the thread support is configured in
*/

View File

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