diff --git a/dlls/wpc/Makefile.in b/dlls/wpc/Makefile.in index 5d8ea2e1115..df0e596d322 100644 --- a/dlls/wpc/Makefile.in +++ b/dlls/wpc/Makefile.in @@ -1,6 +1,6 @@ MODULE = wpc.dll -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ wpc.c diff --git a/dlls/wpc/wpc.c b/dlls/wpc/wpc.c index ef2d6dd7d1c..3dcca050bcd 100644 --- a/dlls/wpc/wpc.c +++ b/dlls/wpc/wpc.c @@ -166,8 +166,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv) TRACE("(%p %d %p)\n", hInstDLL, fdwReason, lpv); switch(fdwReason) { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: DisableThreadLibraryCalls(hInstDLL); wpc_instance = hInstDLL;