comsvcs: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
55ae768fdc
commit
0ed2adf60f
|
@ -2,7 +2,7 @@ MODULE = comsvcs.dll
|
|||
IMPORTLIB = comsvcs
|
||||
IMPORTS = ole32 uuid
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
|
|
@ -360,8 +360,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID lpv)
|
|||
{
|
||||
switch(reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
COMSVCS_hInstance = hinst;
|
||||
DisableThreadLibraryCalls(hinst);
|
||||
|
|
Loading…
Reference in New Issue