Bug 652506 - Remove WinCE code from xpcom; r=bsmedberg

This commit is contained in:
Ed Morley
2011-05-01 20:59:24 +02:00
parent 12a4138242
commit 49398a0b56
31 changed files with 27 additions and 1068 deletions

View File

@@ -392,9 +392,7 @@ static void
RealBreak()
{
#if defined(_WIN32)
#ifndef WINCE
::DebugBreak();
#endif
#elif defined(XP_OS2)
asm("int $3");
#elif defined(XP_MACOSX)
@@ -419,7 +417,6 @@ static void
Break(const char *aMsg)
{
#if defined(_WIN32)
#ifndef WINCE // we really just want to crash for now
static int ignoreDebugger;
if (!ignoreDebugger) {
const char *shouldIgnoreDebugger = getenv("XPCOM_DEBUG_DLG");
@@ -475,7 +472,6 @@ Break(const char *aMsg)
}
RealBreak();
#endif // WINCE
#elif defined(XP_OS2)
char msg[1200];
PR_snprintf(msg, sizeof(msg),