Commit aa2b3e09 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 55615fa9
...@@ -2,7 +2,7 @@ EXTRADEFS = -D_SLC_ ...@@ -2,7 +2,7 @@ EXTRADEFS = -D_SLC_
MODULE = slc.dll MODULE = slc.dll
IMPORTLIB = slc IMPORTLIB = slc
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
slc.c slc.c
...@@ -76,20 +76,3 @@ HRESULT WINAPI SLOpen(HSLC *handle) ...@@ -76,20 +76,3 @@ HRESULT WINAPI SLOpen(HSLC *handle)
return S_OK; return S_OK;
} }
/***********************************************************************
* DllMain (CLUSAPI.@)
*
*/
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
switch(fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls( hinstDLL );
break;
}
return TRUE;
}
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