From e025648e0b295e9643db48b60142c464e09eb65a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 24 Feb 2021 10:28:27 +0100 Subject: [PATCH] qwave: Use --prefer-native instead of DLL_WINE_PREATTACH. Signed-off-by: Alexandre Julliard --- dlls/qwave/Makefile.in | 2 +- dlls/qwave/main.c | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/dlls/qwave/Makefile.in b/dlls/qwave/Makefile.in index 2a2336a935e..0c3ec4b382f 100644 --- a/dlls/qwave/Makefile.in +++ b/dlls/qwave/Makefile.in @@ -1,7 +1,7 @@ MODULE = qwave.dll IMPORTLIB = qwave -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ main.c diff --git a/dlls/qwave/main.c b/dlls/qwave/main.c index e256d1b8c6e..fceb5c79503 100644 --- a/dlls/qwave/main.c +++ b/dlls/qwave/main.c @@ -26,21 +26,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(qwave); -BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID lpv) -{ - TRACE("(%p, %d, %p)\n", hInstDLL, reason, lpv); - - switch (reason) - { - case DLL_WINE_PREATTACH: - return FALSE; /* prefer native version */ - case DLL_PROCESS_ATTACH: - DisableThreadLibraryCalls(hInstDLL); - break; - } - return TRUE; -} - BOOL WINAPI QOSCreateHandle(PQOS_VERSION version, PHANDLE handle) { FIXME("%p %p stub!\n", version, handle);