Alexandre Julliard : taskschd: Use --prefer_native instead of DLL_WINE_PREATTACH.
Alexandre Julliard
julliard at winehq.org
Tue Mar 2 15:35:58 CST 2021
Module: wine
Branch: master
Commit: 3fce5dc4924abf58d3c1039f4191de8182b1afeb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=3fce5dc4924abf58d3c1039f4191de8182b1afeb
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Mar 2 10:56:02 2021 +0100
taskschd: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/taskschd/Makefile.in | 2 +-
dlls/taskschd/taskschd.c | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/dlls/taskschd/Makefile.in b/dlls/taskschd/Makefile.in
index 8d12fed057c..0ad00898ace 100644
--- a/dlls/taskschd/Makefile.in
+++ b/dlls/taskschd/Makefile.in
@@ -1,7 +1,7 @@
MODULE = taskschd.dll
IMPORTS = oleaut32 ole32 advapi32 xmllite rpcrt4
-EXTRADLLFLAGS = -mno-cygwin
+EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
folder.c \
diff --git a/dlls/taskschd/taskschd.c b/dlls/taskschd/taskschd.c
index b68c352824d..42cd7711fa4 100644
--- a/dlls/taskschd/taskschd.c
+++ b/dlls/taskschd/taskschd.c
@@ -121,9 +121,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
{
switch (reason)
{
- case DLL_WINE_PREATTACH:
- return FALSE; /* prefer native version */
-
case DLL_PROCESS_ATTACH:
schd_instance = hinst;
DisableThreadLibraryCalls(hinst);
More information about the wine-cvs
mailing list