Commit ec9a3d99 authored by Alexandre Julliard's avatar Alexandre Julliard

joy.cpl: Use --prefer-native instead of DLL_WINE_PREATTACH.

parent 735fc0e7
MODULE = joy.cpl MODULE = joy.cpl
IMPORTS = dxguid dinput dinput8 ole32 comctl32 user32 advapi32 IMPORTS = dxguid dinput dinput8 ole32 comctl32 user32 advapi32
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
main.c main.c
......
...@@ -47,9 +47,6 @@ BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved) ...@@ -47,9 +47,6 @@ BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
switch (reason) switch (reason)
{ {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hdll); DisableThreadLibraryCalls(hdll);
hcpl = hdll; hcpl = hdll;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment