qwave: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0e3df15530
commit
e025648e0b
|
@ -1,7 +1,7 @@
|
||||||
MODULE = qwave.dll
|
MODULE = qwave.dll
|
||||||
IMPORTLIB = qwave
|
IMPORTLIB = qwave
|
||||||
|
|
||||||
EXTRADLLFLAGS = -mno-cygwin
|
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||||
|
|
||||||
C_SRCS = \
|
C_SRCS = \
|
||||||
main.c
|
main.c
|
||||||
|
|
|
@ -26,21 +26,6 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(qwave);
|
WINE_DEFAULT_DEBUG_CHANNEL(qwave);
|
||||||
|
|
||||||
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD reason, LPVOID lpv)
|
|
||||||
{
|
|
||||||
TRACE("(%p, %d, %p)\n", hInstDLL, reason, lpv);
|
|
||||||
|
|
||||||
switch (reason)
|
|
||||||
{
|
|
||||||
case DLL_WINE_PREATTACH:
|
|
||||||
return FALSE; /* prefer native version */
|
|
||||||
case DLL_PROCESS_ATTACH:
|
|
||||||
DisableThreadLibraryCalls(hInstDLL);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
BOOL WINAPI QOSCreateHandle(PQOS_VERSION version, PHANDLE handle)
|
BOOL WINAPI QOSCreateHandle(PQOS_VERSION version, PHANDLE handle)
|
||||||
{
|
{
|
||||||
FIXME("%p %p stub!\n", version, handle);
|
FIXME("%p %p stub!\n", version, handle);
|
||||||
|
|
Loading…
Reference in New Issue