diff --git a/dlls/scrrun/Makefile.in b/dlls/scrrun/Makefile.in index 90fe286a760..63e35fc5acf 100644 --- a/dlls/scrrun/Makefile.in +++ b/dlls/scrrun/Makefile.in @@ -1,7 +1,7 @@ MODULE = scrrun.dll IMPORTS = uuid oleaut32 version advapi32 -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ dictionary.c \ diff --git a/dlls/scrrun/scrrun.c b/dlls/scrrun/scrrun.c index c14fb130f60..9445c727ac7 100644 --- a/dlls/scrrun/scrrun.c +++ b/dlls/scrrun/scrrun.c @@ -242,8 +242,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved ) switch (reason) { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: DisableThreadLibraryCalls( hinst ); scrrun_instance = hinst;