mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Change to assertions to get Xcode 4 to work better.
This commit is contained in:
parent
9fe7c939e0
commit
3f953ca21d
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue