diff --git a/build/wince/shunt/win32.cpp b/build/wince/shunt/win32.cpp index 238f26aeb05c..8f86d544d6fb 100755 --- a/build/wince/shunt/win32.cpp +++ b/build/wince/shunt/win32.cpp @@ -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