Alexandre Julliard : joy.cpl: Use --prefer-native instead of DLL_WINE_PREATTACH.
Alexandre Julliard
julliard at winehq.org
Fri Feb 26 14:39:28 CST 2021
Module: wine
Branch: master
Commit: ec9a3d99062504c5b249fbd1e62cb4359cc03836
URL: https://source.winehq.org/git/wine.git/?a=commit;h=ec9a3d99062504c5b249fbd1e62cb4359cc03836
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Feb 26 10:22:43 2021 +0100
joy.cpl: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/joy.cpl/Makefile.in | 2 +-
dlls/joy.cpl/main.c | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/joy.cpl/Makefile.in b/dlls/joy.cpl/Makefile.in
index d1b0e45552e..db6883bb121 100644
--- a/dlls/joy.cpl/Makefile.in
+++ b/dlls/joy.cpl/Makefile.in
@@ -1,7 +1,7 @@
MODULE = joy.cpl
IMPORTS = dxguid dinput dinput8 ole32 comctl32 user32 advapi32
-EXTRADLLFLAGS = -mno-cygwin
+EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c
diff --git a/dlls/joy.cpl/main.c b/dlls/joy.cpl/main.c
index 66ac58f7038..3ea417843f4 100644
--- a/dlls/joy.cpl/main.c
+++ b/dlls/joy.cpl/main.c
@@ -47,9 +47,6 @@ BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
switch (reason)
{
- case DLL_WINE_PREATTACH:
- return FALSE; /* prefer native version */
-
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hdll);
hcpl = hdll;
More information about the wine-cvs
mailing list