Alexandre Julliard : inetcomm: Use --prefer-native instead of DLL_WINE_PREATTACH.
Alexandre Julliard
julliard at winehq.org
Fri Feb 26 14:39:27 CST 2021
Module: wine
Branch: master
Commit: e592b5236960913718ed55d47cb64f9dc9c01162
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e592b5236960913718ed55d47cb64f9dc9c01162
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Feb 26 10:22:26 2021 +0100
inetcomm: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/inetcomm/Makefile.in | 2 +-
dlls/inetcomm/inetcomm_main.c | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/inetcomm/Makefile.in b/dlls/inetcomm/Makefile.in
index 198ef0b28ce..b73879a006c 100644
--- a/dlls/inetcomm/Makefile.in
+++ b/dlls/inetcomm/Makefile.in
@@ -2,7 +2,7 @@ MODULE = inetcomm.dll
IMPORTLIB = inetcomm
IMPORTS = uuid urlmon propsys oleaut32 ole32 ws2_32 user32 advapi32
-EXTRADLLFLAGS = -mno-cygwin
+EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
imaptransport.c \
diff --git a/dlls/inetcomm/inetcomm_main.c b/dlls/inetcomm/inetcomm_main.c
index 75436286631..e9029ffb98b 100644
--- a/dlls/inetcomm/inetcomm_main.c
+++ b/dlls/inetcomm/inetcomm_main.c
@@ -48,8 +48,6 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
switch (fdwReason)
{
- case DLL_WINE_PREATTACH:
- return FALSE;
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
instance = hinstDLL;
More information about the wine-cvs
mailing list