Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b618910b
Commit
b618910b
authored
Sep 16, 2013
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Don't use libxslt without libxml.
parent
e12c8c0c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
main.c
dlls/msxml3/main.c
+11
-11
No files found.
dlls/msxml3/main.c
View file @
b618910b
...
@@ -161,15 +161,6 @@ static int wineXmlFileCloseCallback (void * context)
...
@@ -161,15 +161,6 @@ static int wineXmlFileCloseCallback (void * context)
return
CloseHandle
(
context
)
?
0
:
-
1
;
return
CloseHandle
(
context
)
?
0
:
-
1
;
}
}
#endif
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
void
*
libxslt_handle
=
NULL
;
void
*
libxslt_handle
=
NULL
;
#ifdef SONAME_LIBXSLT
#ifdef SONAME_LIBXSLT
# define DECL_FUNCPTR(f) typeof(f) * p##f = NULL
# define DECL_FUNCPTR(f) typeof(f) * p##f = NULL
...
@@ -209,6 +200,15 @@ static void init_libxslt(void)
...
@@ -209,6 +200,15 @@ static void init_libxslt(void)
#endif
#endif
}
}
#endif
/* HAVE_LIBXML2 */
HRESULT
WINAPI
DllCanUnloadNow
(
void
)
{
return
S_FALSE
;
}
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
reserved
)
BOOL
WINAPI
DllMain
(
HINSTANCE
hInstDLL
,
DWORD
fdwReason
,
LPVOID
reserved
)
{
{
MSXML_hInstance
=
hInstDLL
;
MSXML_hInstance
=
hInstDLL
;
...
@@ -230,12 +230,13 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved)
...
@@ -230,12 +230,13 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved)
WARN
(
"Failed to register callbacks
\n
"
);
WARN
(
"Failed to register callbacks
\n
"
);
schemasInit
();
schemasInit
();
#endif
init_libxslt
();
init_libxslt
();
#endif
DisableThreadLibraryCalls
(
hInstDLL
);
DisableThreadLibraryCalls
(
hInstDLL
);
break
;
break
;
case
DLL_PROCESS_DETACH
:
case
DLL_PROCESS_DETACH
:
if
(
reserved
)
break
;
if
(
reserved
)
break
;
#ifdef HAVE_LIBXML2
#ifdef SONAME_LIBXSLT
#ifdef SONAME_LIBXSLT
if
(
libxslt_handle
)
if
(
libxslt_handle
)
{
{
...
@@ -243,7 +244,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved)
...
@@ -243,7 +244,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved)
wine_dlclose
(
libxslt_handle
,
NULL
,
0
);
wine_dlclose
(
libxslt_handle
,
NULL
,
0
);
}
}
#endif
#endif
#ifdef HAVE_LIBXML2
/* Restore default Callbacks */
/* Restore default Callbacks */
xmlCleanupInputCallbacks
();
xmlCleanupInputCallbacks
();
xmlRegisterDefaultInputCallbacks
();
xmlRegisterDefaultInputCallbacks
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment