From 4f4d5218258dd57256da1a65db06d8d8bc8e462e Mon Sep 17 00:00:00 2001 From: "gtm.daemon" Date: Mon, 16 Jun 2014 22:30:07 +0000 Subject: 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 --- UnitTesting/GTMSenTestCase.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'UnitTesting') 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 #elif GTM_USING_XCTEST #import -- cgit v1.2.3