From 34ced1f8a8502046d9a51c189a9ab7454c93c3e7 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Sat, 18 Sep 2004 16:35:28 +0000 Subject: [PATCH] Only use Debugger() if building against carbon or cocoa toolkits. Fixing OSX/X11 bustage. Bug #249028 sr=darin --- xpcom/base/nsDebugImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/base/nsDebugImpl.cpp b/xpcom/base/nsDebugImpl.cpp index 19eedd99bae..5c559ef6907 100644 --- a/xpcom/base/nsDebugImpl.cpp +++ b/xpcom/base/nsDebugImpl.cpp @@ -65,7 +65,7 @@ #if defined(__GNUC__) && defined(__i386) # define DebugBreak() { asm("int $3"); } -#elif defined(__APPLE__) +#elif defined(__APPLE__) && defined(TARGET_CARBON) # include "MacTypes.h" # define DebugBreak() { Debugger(); } #else