Commit 9bfaaea8 authored by Alexandre Julliard's avatar Alexandre Julliard

winnls32: Use --prefer-native instead of DLL_WINE_PREATTACH.

parent 5b01a18d
MODULE = winnls32.dll MODULE = winnls32.dll
IMPORTLIB = winnls32 IMPORTLIB = winnls32
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
winnls.c winnls.c
...@@ -23,22 +23,6 @@ ...@@ -23,22 +23,6 @@
#include "winnls32.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) * WINNLS32GetEnableStatus (WINNLS32.2)
*/ */
BOOL WINAPI WINNLS32GetEnableStatus(HWND hWnd) BOOL WINAPI WINNLS32GetEnableStatus(HWND hWnd)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment