diff --git a/dlls/wmiutils/Makefile.in b/dlls/wmiutils/Makefile.in index 0d0cadd0e3b..85bdd697ccd 100644 --- a/dlls/wmiutils/Makefile.in +++ b/dlls/wmiutils/Makefile.in @@ -1,7 +1,7 @@ MODULE = wmiutils.dll IMPORTS = oleaut32 ole32 advapi32 -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ main.c \ diff --git a/dlls/wmiutils/main.c b/dlls/wmiutils/main.c index 9befe016bd4..c12b63256f8 100644 --- a/dlls/wmiutils/main.c +++ b/dlls/wmiutils/main.c @@ -117,8 +117,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID lpv ) { switch(reason) { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ case DLL_PROCESS_ATTACH: instance = hinst; DisableThreadLibraryCalls( hinst );