From aeaf884a47c4a9061959f5db6a08d0c20281388e Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 2 Mar 2021 10:55:21 +0100 Subject: [PATCH] qdvd: Use --prefer_native instead of DLL_WINE_PREATTACH. Signed-off-by: Alexandre Julliard --- dlls/qdvd/Makefile.in | 2 +- dlls/qdvd/qdvd_main.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/dlls/qdvd/Makefile.in b/dlls/qdvd/Makefile.in index bda22a79074..85f88675b21 100644 --- a/dlls/qdvd/Makefile.in +++ b/dlls/qdvd/Makefile.in @@ -1,7 +1,7 @@ MODULE = qdvd.dll IMPORTS = strmbase strmiids uuid ole32 -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ graph.c \ diff --git a/dlls/qdvd/qdvd_main.c b/dlls/qdvd/qdvd_main.c index 2fdb108877d..cf0620511cc 100644 --- a/dlls/qdvd/qdvd_main.c +++ b/dlls/qdvd/qdvd_main.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) { - if (reason == DLL_WINE_PREATTACH) - return FALSE; /* prefer native version */ - if (reason == DLL_PROCESS_ATTACH) { qdvd_instance = instance;