зеркало из https://github.com/mozilla/gecko-dev.git
Bug 457033 - WinCE No FatalAppExit function in Shunt. patch by wolfe, r=dougt
This commit is contained in:
Родитель
fd7b6b8514
Коммит
a2f769e936
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче