Commit 986c0a8c authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 4e31bcc1
MODULE = mgmtapi.dll MODULE = mgmtapi.dll
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = mgmtapi.c C_SRCS = mgmtapi.c
...@@ -23,21 +23,6 @@ ...@@ -23,21 +23,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(mgmtapi); WINE_DEFAULT_DEBUG_CHANNEL(mgmtapi);
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;
}
BOOL WINAPI SnmpMgrTrapListen(HANDLE *available) BOOL WINAPI SnmpMgrTrapListen(HANDLE *available)
{ {
FIXME("stub: %p\n", available); FIXME("stub: %p\n", available);
......
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