mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 12:23:37 +00:00
joy.cpl: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
735fc0e725
commit
ec9a3d9906
|
@ -1,7 +1,7 @@
|
|||
MODULE = joy.cpl
|
||||
IMPORTS = dxguid dinput dinput8 ole32 comctl32 user32 advapi32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
|
|
@ -47,9 +47,6 @@ BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
|
|||
|
||||
switch (reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(hdll);
|
||||
hcpl = hdll;
|
||||
|
|
Loading…
Reference in a new issue