wmp: Use --prefer-native instead of DLL_WINE_PREATTACH.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-02-26 10:24:21 +01:00
parent e925b40d17
commit 5f42351d08
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,7 @@
MODULE = wmp.dll
IMPORTS = oleaut32 ole32 urlmon shlwapi user32 gdi32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
events.c \

View File

@ -149,8 +149,6 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
TRACE("(%p %d %p)\n", hInstDLL, fdwReason, lpv);
switch(fdwReason) {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hInstDLL);
wmp_instance = hInstDLL;