Merge pull request #68 from crown-hill/master

Fix CATCH Issue #61, Assembler Error on iOS/ARM
This commit is contained in:
Phil Nash 2012-02-28 00:36:30 -08:00
commit 17cd7f1cca
1 changed files with 3 additions and 1 deletions

View File

@ -16,8 +16,10 @@
#include <iostream>
#if defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)
#if defined(__MAC_OS_X_VERSION_MIN_REQUIRED)
#define CATCH_PLATFORM_MAC
#elif defined(__IPHONE_OS_VERSION_MIN_REQUIRED)
#define CATCH_PLATFORM_IPHONE
#elif defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
#define CATCH_PLATFORM_WINDOWS
#endif