Commit 55ae768f authored by Alexandre Julliard's avatar Alexandre Julliard

adsldp: Use --prefer_native instead of DLL_WINE_PREATTACH.

parent 3c2db20f
...@@ -2,7 +2,7 @@ MODULE = adsldp.dll ...@@ -2,7 +2,7 @@ MODULE = adsldp.dll
IMPORTS = ole32 oleaut32 secur32 activeds uuid IMPORTS = ole32 oleaut32 secur32 activeds uuid
DELAYIMPORTS = netapi32 wldap32 DELAYIMPORTS = netapi32 wldap32
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
adsldp.c \ adsldp.c \
......
...@@ -2135,9 +2135,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, void *reserved) ...@@ -2135,9 +2135,6 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, void *reserved)
switch (reason) switch (reason)
{ {
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH: case DLL_PROCESS_ATTACH:
adsldp_hinst = hinst; adsldp_hinst = hinst;
DisableThreadLibraryCalls(hinst); DisableThreadLibraryCalls(hinst);
......
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