Commit 2ef34b7f authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent f0f7bb70
MODULE = fltlib.dll MODULE = fltlib.dll
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
fltlib.c fltlib.c
......
...@@ -25,25 +25,6 @@ ...@@ -25,25 +25,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(fltlib); WINE_DEFAULT_DEBUG_CHANNEL(fltlib);
/*****************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* use native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
}
return TRUE;
}
/********************************************************************** /**********************************************************************
* FilterConnectCommunicationPort (FLTLIB.@) * FilterConnectCommunicationPort (FLTLIB.@)
*/ */
......
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