url: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c7070513d4
commit
6df5cce248
|
@ -2,6 +2,6 @@ MODULE = url.dll
|
|||
IMPORTLIB = url
|
||||
IMPORTS = shell32 shlwapi
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = url_main.c
|
||||
|
|
|
@ -31,22 +31,6 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(url);
|
||||
|
||||
/***********************************************************************
|
||||
* DllMain (URL.@)
|
||||
*/
|
||||
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;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* AddMIMEFileTypesPS (URL.@)
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue