vdmdbg: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e6a41c2669
commit
8818b89051
|
@ -1,7 +1,7 @@
|
|||
MODULE = vdmdbg.dll
|
||||
IMPORTLIB = vdmdbg
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
vdmdbg.c
|
||||
|
|
|
@ -42,19 +42,3 @@ INT WINAPI VDMEnumProcessWOW(PROCESSENUMPROC fp, LPARAM lparam)
|
|||
FIXME("%p: stub!\n", fp);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* DllMain (VDMDBG.@)
|
||||
*/
|
||||
BOOL WINAPI DllMain( HINSTANCE inst, DWORD reason, LPVOID reserved )
|
||||
{
|
||||
switch(reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls( inst );
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue