Commit 576c26c1 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 1c418212
MODULE = msvcm80.dll MODULE = msvcm80.dll
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
msvcm_main.c msvcm_main.c
...@@ -25,19 +25,6 @@ ...@@ -25,19 +25,6 @@
WINE_DEFAULT_DEBUG_CHANNEL(msvcm); WINE_DEFAULT_DEBUG_CHANNEL(msvcm);
BOOL WINAPI DllMain(HINSTANCE hdll, DWORD reason, LPVOID reserved)
{
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hdll);
}
return TRUE;
}
/* void __cdecl <CrtImplementationDetails>::DoDllLanguageSupportValidation(void) */ /* void __cdecl <CrtImplementationDetails>::DoDllLanguageSupportValidation(void) */
void __cdecl CrtImplementationDetails_DoDllLanguageSupportValidation(void) void __cdecl CrtImplementationDetails_DoDllLanguageSupportValidation(void)
{ {
......
MODULE = msvcm90.dll MODULE = msvcm90.dll
PARENTSRC = ../msvcm80 PARENTSRC = ../msvcm80
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = \ C_SRCS = \
msvcm_main.c msvcm_main.c
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