Commit 7905c316 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 4d523238
MODULE = traffic.dll
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
traffic_main.c
......@@ -26,24 +26,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(traffic);
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; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
default:
break;
}
return TRUE;
}
/*****************************************************************************
* TcRegisterClient [TRAFFIC.@]
*/
......
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