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
a1846242
Commit
a1846242
authored
Apr 06, 2020
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gphoto2.ds: Use standard dlopen() instead of the libwine wrappers.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
55e1e0c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
ds_image.c
dlls/gphoto2.ds/ds_image.c
+2
-3
No files found.
dlls/gphoto2.ds/ds_image.c
View file @
a1846242
...
...
@@ -27,7 +27,6 @@
#include "gphoto2_i.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
twain
);
...
...
@@ -46,10 +45,10 @@ MAKE_FUNCPTR(jpeg_destroy_decompress);
static
void
*
load_libjpeg
(
void
)
{
if
((
libjpeg_handle
=
wine_dlopen
(
SONAME_LIBJPEG
,
RTLD_NOW
,
NULL
,
0
))
!=
NULL
)
{
if
((
libjpeg_handle
=
dlopen
(
SONAME_LIBJPEG
,
RTLD_NOW
))
!=
NULL
)
{
#define LOAD_FUNCPTR(f) \
if((p##f =
wine_dlsym(libjpeg_handle, #f, NULL, 0
)) == NULL) { \
if((p##f =
dlsym(libjpeg_handle, #f
)) == NULL) { \
libjpeg_handle = NULL; \
return NULL; \
}
...
...
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