dhcpcsvc: Use --prefer-native instead of DLL_WINE_PREATTACH.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-02-22 09:24:50 +01:00
parent fdd3217558
commit a688df4d47
2 changed files with 1 additions and 16 deletions

View File

@ -1,6 +1,6 @@
MODULE = dhcpcsvc.dll
IMPORTLIB = dhcpcsvc
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = dhcpcsvc.c

View File

@ -30,21 +30,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(dhcpcsvc);
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;
}
void WINAPI DhcpCApiCleanup(void)
{
FIXME(": stub\n");