diff --git a/modules/juce_core/system/juce_PlatformDefs.h b/modules/juce_core/system/juce_PlatformDefs.h index c96fd15106..353e7d59ca 100644 --- a/modules/juce_core/system/juce_PlatformDefs.h +++ b/modules/juce_core/system/juce_PlatformDefs.h @@ -60,7 +60,7 @@ #endif //============================================================================== -#if JUCE_MAC || JUCE_IOS || JUCE_LINUX || JUCE_ANDROID +#if JUCE_IOS || JUCE_LINUX || JUCE_ANDROID || JUCE_PPC /** This will try to break into the debugger if the app is currently being debugged. If called by an app that's not being debugged, the behaiour isn't defined - it may crash or not, depending on the platform. @@ -72,8 +72,8 @@ #pragma intrinsic (__debugbreak) #endif #define juce_breakDebugger { __debugbreak(); } -#elif JUCE_GCC - #define juce_breakDebugger { asm("int $3"); } +#elif JUCE_GCC || JUCE_MAC + #define juce_breakDebugger { asm ("int $3"); } #else #define juce_breakDebugger { __asm int 3 } #endif