Commit 8457f137 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 60933c5b
MODULE = wlanapi.dll
IMPORTLIB = wlanapi
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c
......@@ -197,19 +197,3 @@ void *WINAPI WlanAllocateMemory(DWORD size)
return ret;
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD reason, void *reserved)
{
TRACE("(0x%p, %u, %p)\n", hinstDLL, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
}
return TRUE;
}
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