dsdmo: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
15da5be466
commit
fe60d1cfde
|
@ -1,7 +1,7 @@
|
|||
MODULE = dsdmo.dll
|
||||
IMPORTS = dmoguids strmiids uuid
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
|
|
@ -803,8 +803,6 @@ BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, void *reserved)
|
|||
{
|
||||
switch(reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
dsdmo_instance = instance;
|
||||
DisableThreadLibraryCalls(dsdmo_instance);
|
||||
|
|
Loading…
Reference in New Issue