query: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6c2e20bad4
commit
0e3df15530
|
@ -1,7 +1,7 @@
|
||||||
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 @@
|
||||||
|
|
||||||
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.@)
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue