apphelp: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
93c551abd6
commit
7d60c25760
|
@ -1,5 +1,5 @@
|
|||
MODULE = apphelp.dll
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = apphelp.c
|
||||
|
|
|
@ -39,21 +39,6 @@ typedef DWORD TAGID;
|
|||
/* FIXME: don't know where to place that define */
|
||||
#define TAGID_NULL 0x0
|
||||
|
||||
BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
|
||||
{
|
||||
TRACE("%p, %u, %p\n", hinst, reason, reserved);
|
||||
|
||||
switch (reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls( hinst );
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
BOOL WINAPI ApphelpCheckInstallShieldPackage( void* ptr, LPCWSTR path )
|
||||
{
|
||||
FIXME("stub: %p %s\n", ptr, debugstr_w(path));
|
||||
|
|
Loading…
Reference in New Issue