mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +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:
4
xpath.c
4
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
|
||||
|
Reference in New Issue
Block a user