Commit 1b826d9f authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 96d1c58e
MODULE = xolehlp.dll
IMPORTS = adsiid uuid
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = xolehlp.c
......@@ -630,21 +630,6 @@ static HRESULT TransactionManager_Create(REFIID riid, void **ppv)
}
/* DTC Proxy Core Object end */
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;
}
static BOOL is_local_machineA( const CHAR *server )
{
static const CHAR dot[] = ".";
......
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