Commit 6c2e20ba authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 88313bd1
MODULE = pstorec.dll MODULE = pstorec.dll
IMPORTS = uuid IMPORTS = uuid
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
pstorec.c pstorec.c
......
...@@ -43,21 +43,6 @@ static inline PStore_impl *impl_from_IPStore(IPStore *iface) ...@@ -43,21 +43,6 @@ static inline PStore_impl *impl_from_IPStore(IPStore *iface)
return CONTAINING_RECORD(iface, PStore_impl, IPStore_iface); return CONTAINING_RECORD(iface, PStore_impl, IPStore_iface);
} }
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD fdwReason, LPVOID fImpLoad)
{
TRACE("%p %x %p\n", hinst, fdwReason, fImpLoad);
switch (fdwReason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinst);
break;
}
return TRUE;
}
/************************************************************************** /**************************************************************************
* IPStore->QueryInterface * IPStore->QueryInterface
*/ */
......
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