Commit f0f7bb70 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent ee579a0f
...@@ -2,6 +2,6 @@ MODULE = faultrep.dll ...@@ -2,6 +2,6 @@ MODULE = faultrep.dll
IMPORTLIB = faultrep IMPORTLIB = faultrep
IMPORTS = advapi32 IMPORTS = advapi32
EXTRADLLFLAGS = -mno-cygwin EXTRADLLFLAGS = -mno-cygwin -Wb,--prefer-native
C_SRCS = faultrep.c C_SRCS = faultrep.c
...@@ -103,19 +103,3 @@ EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS pep, DWORD dwOpt) ...@@ -103,19 +103,3 @@ EFaultRepRetVal WINAPI ReportFault(LPEXCEPTION_POINTERS pep, DWORD dwOpt)
FIXME("%p 0x%x stub\n", pep, dwOpt); FIXME("%p 0x%x stub\n", pep, dwOpt);
return frrvOk; return frrvOk;
} }
/***********************************************************************
* DllMain.
*/
BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
{
switch(reason)
{
case DLL_WINE_PREATTACH:
return FALSE;
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(inst);
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