[PATCH 3/3] dnsapi: No longer prefer native.

Zebediah Figura z.figura12 at gmail.com
Fri Mar 1 09:33:35 CST 2019


On 3/1/19 1:43 AM, Hans Leidekker wrote:
> Signed-off-by: Hans Leidekker <hans at codeweavers.com>
> ---
>   dlls/dnsapi/main.c | 2 --
>   1 file changed, 2 deletions(-)
> 
> diff --git a/dlls/dnsapi/main.c b/dlls/dnsapi/main.c
> index 93528a2302..3272470209 100644
> --- a/dlls/dnsapi/main.c
> +++ b/dlls/dnsapi/main.c
> @@ -36,8 +36,6 @@ BOOL WINAPI DllMain( HINSTANCE hinst, DWORD reason, LPVOID reserved )
>   
>       switch (reason)
>       {
> -    case DLL_WINE_PREATTACH:
> -        return FALSE;  /* prefer native version */
>       case DLL_PROCESS_ATTACH:
>           DisableThreadLibraryCalls( hinst );
>           break;
> 

You could also get rid of the function entirely.



More information about the wine-devel mailing list