aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSThread+BlocksTest.m
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-03-22 18:30:11 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2012-03-22 18:30:11 +0000
commit22eb588ba8eb86b3f3bf1367daf86cb55bd9a41a (patch)
tree0ae1b5260bb9c97c0026f45512df37dd6c3471b6 /Foundation/GTMNSThread+BlocksTest.m
parent35037b139d4db2639c78ee526d54fd6cbf8b3825 (diff)
[Author: thomasvl]
SDK might allow blocks, but the code the test calls requires it (and 10.5 thread apis), so instead check the min versions before building the test. R=dmaclach DELTA=3 (0 added, 0 deleted, 3 changed)
Diffstat (limited to 'Foundation/GTMNSThread+BlocksTest.m')
-rw-r--r--Foundation/GTMNSThread+BlocksTest.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/Foundation/GTMNSThread+BlocksTest.m b/Foundation/GTMNSThread+BlocksTest.m
index fc3e561..e900b5b 100644
--- a/Foundation/GTMNSThread+BlocksTest.m
+++ b/Foundation/GTMNSThread+BlocksTest.m
@@ -1,5 +1,5 @@
//
-// GTMNSThread+Blocks.h
+// GTMNSThread+BlocksTest.m
//
// Copyright 2012 Google Inc.
//
@@ -19,7 +19,7 @@
#import "GTMSenTestCase.h"
#import "GTMNSThread+Blocks.h"
-#if NS_BLOCKS_AVAILABLE
+#if GTM_IPHONE_SDK || (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5)
#import "GTMFoundationUnitTestingUtilities.h"
@@ -113,4 +113,4 @@
@end
-#endif // NS_BLOCKS_AVAILABLE
+#endif // GTM_IPHONE_SDK || (MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5)