qdvd: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f99113192f
commit
aeaf884a47
|
@ -1,7 +1,7 @@
|
||||||
MODULE = qdvd.dll
|
MODULE = qdvd.dll
|
||||||
IMPORTS = strmbase strmiids uuid ole32
|
IMPORTS = strmbase strmiids uuid ole32
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mno-cygwin
|
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
graph.c \
|
graph.c \
|
||||||
|
|
|
@ -104,9 +104,6 @@ static struct class_factory navigator_cf = {{&class_factory_vtbl}, navigator_cre
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
||||||
{
|
{
|
||||||
if (reason == DLL_WINE_PREATTACH)
|
|
||||||
return FALSE; /* prefer native version */
|
|
||||||
|
|
||||||
if (reason == DLL_PROCESS_ATTACH)
|
if (reason == DLL_PROCESS_ATTACH)
|
||||||
{
|
{
|
||||||
qdvd_instance = instance;
|
qdvd_instance = instance;
|
||||||
|
|
Loading…
Reference in New Issue