philsquared/Catch — pull request #68 by crown-hill (2012-01-14 19:21:31+00:00)
Title: Fix CATCH Issue #61, Assembler Error on iOS/ARM

Fix assembler error in catch_debugger.hpp on iOS on ARM that occurs trying to use assembly for Intel because CATCH_PLATFORM_MAC is defined. Define CATCH_PLATFORM_MAC using #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) instead of #if defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__). Add new CATCH_PLATFORM_IPHONE defined using #elif defined(__IPHONE_OS_VERSION_MIN_REQUIRED) for future use. The BreakIntoDebugger and isDebuggerActive functions remain without implementations for iOS.