adsldp: Use --prefer_native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
3c2db20f66
commit
55ae768fdc
|
@ -2,7 +2,7 @@ MODULE = adsldp.dll
|
|||
IMPORTS = ole32 oleaut32 secur32 activeds uuid
|
||||
DELAYIMPORTS = netapi32 wldap32
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
adsldp.c \
|
||||
|
|
|
@ -2135,9 +2135,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, void *reserved)
|
|||
|
||||
switch (reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
|
||||
case DLL_PROCESS_ATTACH:
|
||||
adsldp_hinst = hinst;
|
||||
DisableThreadLibraryCalls(hinst);
|
||||
|
|
Loading…
Reference in New Issue