Commit 15da5be4 authored by Alexandre Julliard's avatar Alexandre Julliard

dpvoice: Use --prefer_native instead of DLL_WINE_PREATTACH.

parent 79aa19c1
MODULE = dpvoice.dll
IMPORTS = dxguid uuid
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
client.c \
......
......@@ -109,13 +109,10 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
DPVOICE_hInstance = hinstDLL;
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DPVOICE_hInstance = hinstDLL;
DisableThreadLibraryCalls(hinstDLL);
break;
default:
......
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