diff --git a/dlls/vdmdbg/Makefile.in b/dlls/vdmdbg/Makefile.in index d9294b61763..495812797ad 100644 --- a/dlls/vdmdbg/Makefile.in +++ b/dlls/vdmdbg/Makefile.in @@ -1,7 +1,7 @@ MODULE = vdmdbg.dll IMPORTLIB = vdmdbg -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ vdmdbg.c diff --git a/dlls/vdmdbg/vdmdbg.c b/dlls/vdmdbg/vdmdbg.c index 4d2656c3a1e..b56c62535ac 100644 --- a/dlls/vdmdbg/vdmdbg.c +++ b/dlls/vdmdbg/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; -}