Commit 4505bced authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 7d60c257
MODULE = atmlib.dll MODULE = atmlib.dll
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
main.c main.c
...@@ -24,21 +24,6 @@ ...@@ -24,21 +24,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(atmlib); WINE_DEFAULT_DEBUG_CHANNEL(atmlib);
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 ATMProperlyLoaded(void) BOOL WINAPI ATMProperlyLoaded(void)
{ {
FIXME("stub\n"); FIXME("stub\n");
......
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