1
0
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:
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

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