Alexandre Julliard : qdvd: Use --prefer_native instead of DLL_WINE_PREATTACH.

Alexandre Julliard julliard at winehq.org
Tue Mar 2 15:35:58 CST 2021


Module: wine
Branch: master
Commit: aeaf884a47c4a9061959f5db6a08d0c20281388e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=aeaf884a47c4a9061959f5db6a08d0c20281388e

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Mar  2 10:55:21 2021 +0100

qdvd: Use --prefer_native instead of DLL_WINE_PREATTACH.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;




More information about the wine-cvs mailing list