Commit e025648e authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 0e3df155
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 @@ ...@@ -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);
......
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