Commit 8818b890 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent e6a41c26
MODULE = vdmdbg.dll MODULE = vdmdbg.dll
IMPORTLIB = vdmdbg IMPORTLIB = vdmdbg
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
vdmdbg.c vdmdbg.c
...@@ -42,19 +42,3 @@ INT WINAPI VDMEnumProcessWOW(PROCESSENUMPROC fp, LPARAM lparam) ...@@ -42,19 +42,3 @@ INT WINAPI VDMEnumProcessWOW(PROCESSENUMPROC fp, LPARAM lparam)
FIXME("%p: stub!\n", fp); FIXME("%p: stub!\n", fp);
return 0; 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;
}
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