winnls32: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5b01a18dd3
commit
9bfaaea8fa
|
@ -1,7 +1,7 @@
|
|||
MODULE = winnls32.dll
|
||||
IMPORTLIB = winnls32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
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)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue