diff --git a/dlls/msasn1/Makefile.in b/dlls/msasn1/Makefile.in index b57eda7793b..18d6d92526c 100644 --- a/dlls/msasn1/Makefile.in +++ b/dlls/msasn1/Makefile.in @@ -1,7 +1,7 @@ MODULE = msasn1.dll IMPORTLIB = msasn1 -EXTRADLLFLAGS = -mno-cygwin +EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native C_SRCS = \ main.c diff --git a/dlls/msasn1/main.c b/dlls/msasn1/main.c index fc867e7b815..2ebaa8c485c 100644 --- a/dlls/msasn1/main.c +++ b/dlls/msasn1/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[],