mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-31 17:17:37 +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:
parent
0eafdef988
commit
da423da207
@ -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>
|
Wed Apr 10 18:12:52 CEST 2002 Daniel Veillard <daniel@veillard.com>
|
||||||
|
|
||||||
* xpath.c: another patch from Richard Jinks for substring conformance
|
* xpath.c: another patch from Richard Jinks for substring conformance
|
||||||
|
@ -68,7 +68,7 @@ extern void xmlCheckVersion(int version);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LIBXML_THREADS_ENABLED:
|
* LIBXML_THREAD_ENABLED:
|
||||||
*
|
*
|
||||||
* Whether the thread support is configured in
|
* Whether the thread support is configured in
|
||||||
*/
|
*/
|
||||||
|
@ -68,7 +68,7 @@ extern void xmlCheckVersion(int version);
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* LIBXML_THREADS_ENABLED:
|
* LIBXML_THREAD_ENABLED:
|
||||||
*
|
*
|
||||||
* Whether the thread support is configured in
|
* Whether the thread support is configured in
|
||||||
*/
|
*/
|
||||||
|
4
xpath.c
4
xpath.c
@ -70,7 +70,7 @@ static xmlNs xmlXPathXMLNamespaceStruct = {
|
|||||||
BAD_CAST "xml"
|
BAD_CAST "xml"
|
||||||
};
|
};
|
||||||
static xmlNsPtr xmlXPathXMLNamespace = &xmlXPathXMLNamespaceStruct;
|
static xmlNsPtr xmlXPathXMLNamespace = &xmlXPathXMLNamespaceStruct;
|
||||||
#ifndef LIBXML_THREADS_ENABLED
|
#ifndef LIBXML_THREAD_ENABLED
|
||||||
/*
|
/*
|
||||||
* Optimizer is disabled only when threaded apps are detected while
|
* Optimizer is disabled only when threaded apps are detected while
|
||||||
* the library ain't compiled for thread safety.
|
* the library ain't compiled for thread safety.
|
||||||
@ -392,7 +392,7 @@ static void
|
|||||||
xmlXPathCompSwap(xmlXPathStepOpPtr op) {
|
xmlXPathCompSwap(xmlXPathStepOpPtr op) {
|
||||||
int tmp;
|
int tmp;
|
||||||
|
|
||||||
#ifdef LIBXML_THREADS_ENABLED
|
#ifdef LIBXML_THREAD_ENABLED
|
||||||
/*
|
/*
|
||||||
* Since this manipulates possibly shared variables, this is
|
* Since this manipulates possibly shared variables, this is
|
||||||
* disable if one detects that the library is used in a multithreaded
|
* disable if one detects that the library is used in a multithreaded
|
||||||
|
Loading…
Reference in New Issue
Block a user