taskschd: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7b470425f7
commit
3fce5dc492
|
@ -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 \
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue