diff --git a/dlls/winnls32/Makefile.in b/dlls/winnls32/Makefile.in index c94375a2516..d7787abf08c 100644 --- a/dlls/winnls32/Makefile.in +++ b/dlls/winnls32/Makefile.in @@ -1,7 +1,7 @@ MODULE = winnls32.dll IMPORTLIB = winnls32 -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ winnls.c diff --git a/dlls/winnls32/winnls.c b/dlls/winnls32/winnls.c index 517a53cf7cd..b89a6a8cc6b 100644 --- a/dlls/winnls32/winnls.c +++ b/dlls/winnls32/winnls.c @@ -22,22 +22,6 @@ #include "winbase.h" #include "winnls32.h" -/*********************************************************************** - * DllMain (WINNLS.@) - */ -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; -} - /*********************************************************************** * WINNLS32GetEnableStatus (WINNLS32.2) */