qwave: Use --prefer-native instead of DLL_WINE_PREATTACH.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-02-24 10:28:27 +01:00
parent 0e3df15530
commit e025648e0b
2 changed files with 1 additions and 16 deletions

View File

@ -1,7 +1,7 @@
MODULE = qwave.dll
IMPORTLIB = qwave
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
main.c

View File

@ -26,21 +26,6 @@
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)
{
FIXME("%p %p stub!\n", version, handle);