sccbase: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2722f5122f
commit
b2a40e2e32
|
@ -1,6 +1,6 @@
|
|||
MODULE = sccbase.dll
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
|
|
@ -24,21 +24,6 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(sccbase);
|
||||
|
||||
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;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/*****************************************************
|
||||
* DllRegisterServer (SCCBASE.@)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue