mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
fwpuclnt: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7a24a471d3
commit
65124b6e83
2 changed files with 1 additions and 19 deletions
|
@ -1,6 +1,6 @@
|
|||
MODULE = fwpuclnt.dll
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
|
|
@ -26,24 +26,6 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(fwpuclnt);
|
||||
|
||||
/*****************************************************
|
||||
* DllMain
|
||||
*/
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
TRACE("(%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
|
||||
|
||||
switch (fdwReason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls( hinstDLL );
|
||||
break;
|
||||
}
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* FwpmFreeMemory0 (FWPUCLNT.@)
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue