Commit 99817158 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 986c0a8c
MODULE = mprapi.dll MODULE = mprapi.dll
IMPORTLIB = mprapi IMPORTLIB = mprapi
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
mprapi.c mprapi.c
...@@ -25,25 +25,6 @@ ...@@ -25,25 +25,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(mprapi); WINE_DEFAULT_DEBUG_CHANNEL(mprapi);
/*****************************************************
* DllMain
*/
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
{
TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
switch(reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinst );
break;
}
return TRUE;
}
/*********************************************************************** /***********************************************************************
* MprAdminGetErrorString (MPRAPI.@) * MprAdminGetErrorString (MPRAPI.@)
* *
......
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