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

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

parent 629d4fce
......@@ -2,7 +2,7 @@ MODULE = ntdsapi.dll
IMPORTLIB = ntdsapi
IMPORTS = user32
EXTRADLLFLAGS = -mno-cygwin
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \
ntdsapi.c
......@@ -27,25 +27,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(ntdsapi);
/*****************************************************
* 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;
}
/***********************************************************************
* DsBindA (NTDSAPI.@)
*/
......
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