Alexandre Julliard : davclnt: Use --prefer-native instead of DLL_WINE_PREATTACH.
Alexandre Julliard
julliard at winehq.org
Mon Feb 22 15:43:21 CST 2021
Module: wine
Branch: master
Commit: fdd3217558c63125d50679f2b5964874dc50ed94
URL: https://source.winehq.org/git/wine.git/?a=commit;h=fdd3217558c63125d50679f2b5964874dc50ed94
Author: Alexandre Julliard <julliard at winehq.org>
Date: Mon Feb 22 09:24:46 2021 +0100
davclnt: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/davclnt/Makefile.in | 2 +-
dlls/davclnt/main.c | 14 --------------
2 files changed, 1 insertion(+), 15 deletions(-)
diff --git a/dlls/davclnt/Makefile.in b/dlls/davclnt/Makefile.in
index 70dea6f4e60..f15116f5b61 100644
--- a/dlls/davclnt/Makefile.in
+++ b/dlls/davclnt/Makefile.in
@@ -1,6 +1,6 @@
MODULE = davclnt.dll
-EXTRADLLFLAGS = -mno-cygwin
+EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c
diff --git a/dlls/davclnt/main.c b/dlls/davclnt/main.c
index 485de927a42..5859c3c06c5 100644
--- a/dlls/davclnt/main.c
+++ b/dlls/davclnt/main.c
@@ -29,20 +29,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(davclnt);
-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);
- break;
- }
-
- return TRUE;
-}
-
/***********************************************************************
* DavRegisterAuthCallback (davclnt.@)
*/
More information about the wine-cvs
mailing list