Signed-off-by: Hans Leidekker hans@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;
On 3/1/19 1:43 AM, Hans Leidekker wrote:
Signed-off-by: Hans Leidekker hans@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.