Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
681d3751
Commit
681d3751
authored
Nov 19, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Nov 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Fix compilation on systems that don't have xsltInit().
Reduce the scope of xsltInit(). Remove an include that was needed only for xsltInit().
parent
a815677d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
main.c
dlls/msxml3/main.c
+2
-1
msxml_private.h
dlls/msxml3/msxml_private.h
+0
-2
No files found.
dlls/msxml3/main.c
View file @
681d3751
...
...
@@ -49,7 +49,6 @@ HRESULT WINAPI DllCanUnloadNow(void)
void
*
libxslt_handle
=
NULL
;
#ifdef SONAME_LIBXSLT
# define DECL_FUNCPTR(f) typeof(f) * p##f = NULL
DECL_FUNCPTR
(
xsltInit
);
DECL_FUNCPTR
(
xsltApplyStylesheet
);
DECL_FUNCPTR
(
xsltCleanupGlobals
);
DECL_FUNCPTR
(
xsltFreeStylesheet
);
...
...
@@ -60,6 +59,8 @@ DECL_FUNCPTR(xsltParseStylesheetDoc);
static
void
init_libxslt
(
void
)
{
#ifdef SONAME_LIBXSLT
void
(
*
pxsltInit
)(
void
);
/* Missing in libxslt <= 1.1.14 */
libxslt_handle
=
wine_dlopen
(
SONAME_LIBXSLT
,
RTLD_NOW
,
NULL
,
0
);
if
(
!
libxslt_handle
)
return
;
...
...
dlls/msxml3/msxml_private.h
View file @
681d3751
...
...
@@ -102,10 +102,8 @@ void* libxslt_handle;
# endif
# include <libxslt/xsltutils.h>
# include <libxslt/xsltInternals.h>
# include <libxslt/xslt.h>
# define MAKE_FUNCPTR(f) extern typeof(f) * p##f
MAKE_FUNCPTR
(
xsltInit
);
MAKE_FUNCPTR
(
xsltApplyStylesheet
);
MAKE_FUNCPTR
(
xsltCleanupGlobals
);
MAKE_FUNCPTR
(
xsltFreeStylesheet
);
...
...
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