Commit 9cef8bb6 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent cbcf2646
MODULE = mspatcha.dll MODULE = mspatcha.dll
IMPORTLIB = mspatcha IMPORTLIB = mspatcha
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
lzxd_dec.c \ lzxd_dec.c \
......
...@@ -41,24 +41,6 @@ ...@@ -41,24 +41,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(mspatcha); WINE_DEFAULT_DEBUG_CHANNEL(mspatcha);
/*****************************************************
* DllMain (MSPATCHA.@)
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n", hinstDLL, fdwReason, lpvReserved);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinstDLL);
break;
}
return TRUE;
}
static WCHAR *strdupAW(const char *src) static WCHAR *strdupAW(const char *src)
{ {
......
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