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
5016716f
Commit
5016716f
authored
Apr 06, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winspool: Use standard dlopen() instead of the libwine wrappers.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7afa53c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
info.c
dlls/winspool.drv/info.c
+3
-4
No files found.
dlls/winspool.drv/info.c
View file @
5016716f
...
...
@@ -107,7 +107,6 @@
#define NONAMELESSSTRUCT
#define NONAMELESSUNION
#include "wine/library.h"
#include "windef.h"
#include "winbase.h"
#include "winuser.h"
...
...
@@ -887,13 +886,13 @@ static cups_ptype_t get_cups_printer_type( const cups_dest_t *dest )
static
void
load_cups
(
void
)
{
cupshandle
=
wine_dlopen
(
SONAME_LIBCUPS
,
RTLD_NOW
,
NULL
,
0
);
cupshandle
=
dlopen
(
SONAME_LIBCUPS
,
RTLD_NOW
);
if
(
!
cupshandle
)
return
;
TRACE
(
"%p: %s loaded
\n
"
,
cupshandle
,
SONAME_LIBCUPS
);
#define DO_FUNC(x) \
p##x =
wine_dlsym( cupshandle, #x, NULL, 0
); \
p##x =
dlsym( cupshandle, #x
); \
if (!p##x) \
{ \
ERR("failed to load symbol %s\n", #x); \
...
...
@@ -902,7 +901,7 @@ static void load_cups(void)
}
CUPS_FUNCS
;
#undef DO_FUNC
#define DO_FUNC(x) p##x =
wine_dlsym( cupshandle, #x, NULL, 0
)
#define DO_FUNC(x) p##x =
dlsym( cupshandle, #x
)
CUPS_OPT_FUNCS
;
#undef DO_FUNC
}
...
...
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