Browse Source

Change to assertions to get Xcode 4 to work better.

tags/2021-05-28
jules 13 years ago
parent
commit
3f953ca21d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/juce_core/system/juce_PlatformDefs.h

+ 3
- 3
modules/juce_core/system/juce_PlatformDefs.h View File

@@ -60,7 +60,7 @@
#endif #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. /** 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 If called by an app that's not being debugged, the behaiour isn't defined - it may crash or not, depending
on the platform. on the platform.
@@ -72,8 +72,8 @@
#pragma intrinsic (__debugbreak) #pragma intrinsic (__debugbreak)
#endif #endif
#define juce_breakDebugger { __debugbreak(); } #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 #else
#define juce_breakDebugger { __asm int 3 } #define juce_breakDebugger { __asm int 3 }
#endif #endif


Loading…
Cancel
Save