connect: Use --prefer-native instead of DLL_WINE_PREATTACH.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-02-22 09:24:20 +01:00
parent 3d154c7e2d
commit 666ffbef54
2 changed files with 1 additions and 15 deletions

View File

@ -1,6 +1,6 @@
MODULE = connect.dll
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c

View File

@ -25,20 +25,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(connect);
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;
}
HRESULT WINAPI IsInternetConnected(void)
{
FIXME("stub, faking success!\n");