diff options
Diffstat (limited to 'libxslt/xslt.c')
-rw-r--r-- | libxslt/xslt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libxslt/xslt.c b/libxslt/xslt.c index 071658b4..f35ad237 100644 --- a/libxslt/xslt.c +++ b/libxslt/xslt.c @@ -83,6 +83,9 @@ const xmlChar *xsltXSLTAttrMarker = (const xmlChar *) "LRE XSLT Attr"; #endif +#ifdef XSLT_LOCALE_WINAPI +extern xmlRMutexPtr xsltLocaleMutex; +#endif /* * Harmless but avoiding a problem when compiling against a * libxml <= 2.3.11 without LIBXML_DEBUG_ENABLED @@ -222,6 +225,9 @@ void xsltInit (void) { if (initialized == 0) { initialized = 1; +#ifdef XSLT_LOCALE_WINAPI + xsltLocaleMutex = xmlNewRMutex(); +#endif xsltRegisterAllExtras(); } } |