diff options
author | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-06-16 22:30:07 +0000 |
---|---|---|
committer | gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3> | 2014-06-16 22:30:07 +0000 |
commit | 4f4d5218258dd57256da1a65db06d8d8bc8e462e (patch) | |
tree | c51564bd5ed66a77ca7524bb8fa8917a5157b5a6 /UnitTesting | |
parent | a8c45b2d81b4a1ae00440c472659f8728c303693 (diff) |
Fix up GTMSenTestCase so that it pulls in SenTestingKit on Xcode < 5.
DELTA=2 (1 added, 0 deleted, 1 changed)
DELTA_BY_EXTENSION=h=2
Diffstat (limited to 'UnitTesting')
-rw-r--r-- | UnitTesting/GTMSenTestCase.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/UnitTesting/GTMSenTestCase.h b/UnitTesting/GTMSenTestCase.h index 8effb50..af8ad47 100644 --- a/UnitTesting/GTMSenTestCase.h +++ b/UnitTesting/GTMSenTestCase.h @@ -53,7 +53,8 @@ #import "GTMDefines.h" -#if GTM_IPHONE_USE_SENTEST +// XCTest didn't exist before Xcode 5. Xcode 5 uses clang 5. +#if (__clang_major__ < 5) || GTM_IPHONE_USE_SENTEST #import <SenTestingKit/SenTestingKit.h> #elif GTM_USING_XCTEST #import <XCTest/XCTest.h> |