Alexandre Julliard : dx8vb: Use --prefer_native instead of DLL_WINE_PREATTACH.
Alexandre Julliard
julliard at winehq.org
Tue Mar 2 15:35:57 CST 2021
Module: wine
Branch: master
Commit: 095b40f40c1b4c14541764099eac17eb34305228
URL: https://source.winehq.org/git/wine.git/?a=commit;h=095b40f40c1b4c14541764099eac17eb34305228
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Mar 2 10:54:18 2021 +0100
dx8vb: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dx8vb/Makefile.in | 2 +-
dlls/dx8vb/main.c | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/dx8vb/Makefile.in b/dlls/dx8vb/Makefile.in
index 727265c6983..184d2a3c367 100644
--- a/dlls/dx8vb/Makefile.in
+++ b/dlls/dx8vb/Makefile.in
@@ -1,7 +1,7 @@
MODULE = dx8vb.dll
IMPORTS = uuid ole32
-EXTRADLLFLAGS = -mno-cygwin
+EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c
diff --git a/dlls/dx8vb/main.c b/dlls/dx8vb/main.c
index 7dbe47d25af..4784c84e203 100644
--- a/dlls/dx8vb/main.c
+++ b/dlls/dx8vb/main.c
@@ -44,8 +44,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
switch (reason)
{
- case DLL_WINE_PREATTACH:
- return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(instance);
instance_dx8vb = instance;
More information about the wine-cvs
mailing list