mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 10:30:22 +00:00
compstui: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b40a032e94
commit
3d154c7e2d
|
@ -1,7 +1,7 @@
|
|||
MODULE = compstui.dll
|
||||
IMPORTLIB = compstui
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
compstui_main.c
|
||||
|
|
|
@ -31,25 +31,6 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(compstui);
|
||||
|
||||
/*****************************************************
|
||||
* DllMain
|
||||
*/
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
TRACE("(%p, %d, %p)\n",hinstDLL, fdwReason, lpvReserved);
|
||||
|
||||
switch(fdwReason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls( hinstDLL );
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/******************************************************************
|
||||
* CommonPropertySheetUIA (COMPSTUI.@)
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue