Commit b40a032e authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent edc4fb8e
MODULE = clusapi.dll
IMPORTLIB = clusapi
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
clusapi.c
......@@ -115,20 +115,3 @@ DWORD WINAPI ClusterEnum(HCLUSENUM hEnum, DWORD dwIndex, LPDWORD lpdwType, LPWST
return ERROR_NO_MORE_ITEMS;
}
/***********************************************************************
* DllMain (CLUSAPI.@)
*
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinstDLL );
break;
}
return TRUE;
}
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