Commit 96d1c58e authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 1243c4e2
MODULE = wsnmp32.dll
IMPORTLIB = wsnmp32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = wsnmp32.c
......@@ -24,21 +24,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(wsnmp32);
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
{
TRACE("%p, %u, %p\n", hinst, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinst );
break;
}
return TRUE;
}
SNMPAPI_STATUS WINAPI SnmpCleanup( void )
{
FIXME( "\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