Commit 0e3df155 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 6c2e20ba
MODULE = query.dll MODULE = query.dll
IMPORTS = uuid IMPORTS = uuid
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
query_main.c query_main.c
...@@ -36,19 +36,6 @@ ...@@ -36,19 +36,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(query); WINE_DEFAULT_DEBUG_CHANNEL(query);
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpv)
{
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hInstDLL);
break;
}
return TRUE;
}
/*********************************************************************** /***********************************************************************
* DllGetClassObject (QUERY.@) * DllGetClassObject (QUERY.@)
*/ */
......
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