dhcpcsvc: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fdd3217558
commit
a688df4d47
|
@ -1,6 +1,6 @@
|
||||||
MODULE = dhcpcsvc.dll
|
MODULE = dhcpcsvc.dll
|
||||||
IMPORTLIB = dhcpcsvc
|
IMPORTLIB = dhcpcsvc
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mno-cygwin
|
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||||
|
|
||||||
C_SRCS = dhcpcsvc.c
|
C_SRCS = dhcpcsvc.c
|
||||||
|
|
|
@ -30,21 +30,6 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(dhcpcsvc);
|
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)
|
void WINAPI DhcpCApiCleanup(void)
|
||||||
{
|
{
|
||||||
FIXME(": stub\n");
|
FIXME(": stub\n");
|
||||||
|
|
Loading…
Reference in New Issue