mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 23:05:46 +00:00
directmanipulation: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0ed2adf60f
commit
79aa19c10d
|
@ -1,7 +1,7 @@
|
|||
MODULE = directmanipulation.dll
|
||||
IMPORTS = uuid
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
IDL_SRCS = directmanip.idl
|
||||
|
||||
|
|
|
@ -38,8 +38,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:
|
||||
dm_instance = instance;
|
||||
DisableThreadLibraryCalls(instance);
|
||||
|
|
Loading…
Reference in a new issue