Alexandre Julliard : qwave: Use --prefer-native instead of DLL_WINE_PREATTACH.
Alexandre Julliard
julliard at winehq.org
Wed Feb 24 15:45:40 CST 2021
Module: wine
Branch: master
Commit: e025648e0b295e9643db48b60142c464e09eb65a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e025648e0b295e9643db48b60142c464e09eb65a
Author: Alexandre Julliard <julliard at winehq.org>
Date: Wed Feb 24 10:28:27 2021 +0100
qwave: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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);
More information about the wine-cvs
mailing list