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

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

parent b2a40e2e
MODULE = schannel.dll MODULE = schannel.dll
IMPORTS = secur32 IMPORTS = secur32
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
lsamode.c \ lsamode.c \
......
...@@ -27,18 +27,6 @@ ...@@ -27,18 +27,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(schannel); WINE_DEFAULT_DEBUG_CHANNEL(schannel);
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
TRACE("(0x%p, %d, %p)\n",hinstDLL,fdwReason,lpvReserved);
if (fdwReason == DLL_WINE_PREATTACH) return FALSE; /* prefer native version */
if (fdwReason == DLL_PROCESS_ATTACH)
DisableThreadLibraryCalls(hinstDLL);
return TRUE;
}
BOOL WINAPI SslEmptyCacheA(LPSTR target, DWORD flags) BOOL WINAPI SslEmptyCacheA(LPSTR target, DWORD flags)
{ {
FIXME("%s %x\n", debugstr_a(target), flags); FIXME("%s %x\n", debugstr_a(target), flags);
......
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