xolehlp: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
96d1c58e70
commit
1b826d9f56
|
@ -1,6 +1,6 @@
|
|||
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[] = ".";
|
||||
|
|
Loading…
Reference in New Issue