Commit 666ffbef authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 3d154c7e
MODULE = connect.dll MODULE = connect.dll
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
main.c main.c
...@@ -25,20 +25,6 @@ ...@@ -25,20 +25,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(connect); 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) HRESULT WINAPI IsInternetConnected(void)
{ {
FIXME("stub, faking success!\n"); FIXME("stub, faking success!\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment