mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 10:39:24 +00:00
msasn1: Use --prefer-native instead of DLL_WINE_PREATTACH.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9981715809
commit
e0ff40332f
|
@ -1,7 +1,7 @@
|
|||
MODULE = msasn1.dll
|
||||
IMPORTLIB = msasn1
|
||||
|
||||
EXTRADLLFLAGS = -mno-cygwin
|
||||
EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
|
||||
|
||||
C_SRCS = \
|
||||
main.c
|
||||
|
|
|
@ -29,21 +29,6 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(msasn1);
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved)
|
||||
{
|
||||
|
||||
switch (reason)
|
||||
{
|
||||
case DLL_WINE_PREATTACH:
|
||||
return FALSE; /* prefer native version */
|
||||
case DLL_PROCESS_ATTACH:
|
||||
DisableThreadLibraryCalls(instance);
|
||||
break;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
ASN1module_t WINAPI ASN1_CreateModule(ASN1uint32_t ver, ASN1encodingrule_e rule, ASN1uint32_t flags,
|
||||
ASN1uint32_t pdu, const ASN1GenericFun_t encoder[],
|
||||
const ASN1GenericFun_t decoder[], const ASN1FreeFun_t freemem[],
|
||||
|
|
Loading…
Reference in a new issue