comsvcs: Use --prefer_native instead of DLL_WINE_PREATTACH.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-03-02 10:53:55 +01:00
parent 55ae768fdc
commit 0ed2adf60f
2 changed files with 1 additions and 3 deletions

View file

@ -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

View file

@ -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);