Bug 457033 - WinCE No FatalAppExit function in Shunt. patch by wolfe, r=dougt

This commit is contained in:
Doug Turner 2008-09-25 11:38:38 -07:00
parent fd7b6b8514
commit a2f769e936

View File

@ -1194,6 +1194,15 @@ MOZCE_SHUNT_API DWORD SetNamedSecurityInfoW(unsigned short* pObjectName,
MOZCE_SHUNT_API void FatalAppExitW(UINT uAction, LPCWSTR lpMessageText)
{
if ( ::MessageBoxW(NULL, lpMessageText, L"Runtime Error", MB_OKCANCEL | MB_ICONERROR) == IDCANCEL )
return;
exit(-1);
}
#if 0
{
#endif