Commit a1846242 authored by Alexandre Julliard's avatar Alexandre Julliard

gphoto2.ds: Use standard dlopen() instead of the libwine wrappers.

parent 55e1e0c5
......@@ -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; \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment