mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 20:53:38 +00:00
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 a new issue