mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:46:38 +00:00
[LIBXML2] Update to version 2.9.12. CORE-17766
This commit is contained in:
parent
271556e6f8
commit
40ee59d609
60 changed files with 3385 additions and 2832 deletions
5
sdk/lib/3rdparty/libxml2/threads.c
vendored
5
sdk/lib/3rdparty/libxml2/threads.c
vendored
|
@ -885,8 +885,6 @@ xmlInitThreads(void)
|
|||
}
|
||||
}
|
||||
#endif /* XML_PTHREAD_WEAK */
|
||||
#elif defined(HAVE_WIN32_THREADS) && !defined(HAVE_COMPILER_TLS) && (!defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL))
|
||||
InitializeCriticalSection(&cleanup_helpers_cs);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -958,6 +956,9 @@ xmlOnceInit(void)
|
|||
if (!run_once.done) {
|
||||
if (InterlockedIncrement(&run_once.control) == 1) {
|
||||
#if !defined(HAVE_COMPILER_TLS)
|
||||
#if !defined(LIBXML_STATIC) || defined(LIBXML_STATIC_FOR_DLL)
|
||||
InitializeCriticalSection(&cleanup_helpers_cs);
|
||||
#endif
|
||||
globalkey = TlsAlloc();
|
||||
#endif
|
||||
mainthread = GetCurrentThreadId();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue