Module: wine Branch: master Commit: 6f3f06840d8a78ac77e7359169505417aba6c2a6 URL: https://source.winehq.org/git/wine.git/?a=commit;h=6f3f06840d8a78ac77e735916...
Author: Alexandre Julliard julliard@winehq.org Date: Fri Feb 26 10:22:21 2021 +0100
hnetcfg: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/hnetcfg/Makefile.in | 2 +- dlls/hnetcfg/hnetcfg.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/dlls/hnetcfg/Makefile.in b/dlls/hnetcfg/Makefile.in index 2164c6a8e6b..f40ee2fc4e5 100644 --- a/dlls/hnetcfg/Makefile.in +++ b/dlls/hnetcfg/Makefile.in @@ -1,7 +1,7 @@ MODULE = hnetcfg.dll IMPORTS = oleaut32 ole32 advapi32 mpr uuid
-EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ apps.c \ diff --git a/dlls/hnetcfg/hnetcfg.c b/dlls/hnetcfg/hnetcfg.c index 5cc24a1447b..5018c9f285d 100644 --- a/dlls/hnetcfg/hnetcfg.c +++ b/dlls/hnetcfg/hnetcfg.c @@ -123,8 +123,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID reserved) TRACE("(0x%p, %d, %p)\n", hInstDLL, fdwReason, reserved);
switch(fdwReason) { - case DLL_WINE_PREATTACH: - return FALSE; case DLL_PROCESS_ATTACH: instance = hInstDLL; DisableThreadLibraryCalls(hInstDLL);