aboutsummaryrefslogtreecommitdiff
path: root/GTMDefines.h
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-01-02 13:00:13 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2013-01-02 13:00:13 +0000
commit3d42089a8fac73ca2c437fdfffaffc12ac540159 (patch)
tree25df431d42703439793720061f3ba213ea7fe7ee /GTMDefines.h
parent2c2586d12e7757a41a1eda0c47c6b9c2fabe970e (diff)
[Author: thomasvl]
Remove the GC support code. Add the needed images for the iOS unittests under iOS 6.0. Add a workspace file for the iPhone project. R=dmaclach DELTA=215 (85 added, 122 deleted, 8 changed)
Diffstat (limited to 'GTMDefines.h')
-rw-r--r--GTMDefines.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/GTMDefines.h b/GTMDefines.h
index b970d69..c615d9f 100644
--- a/GTMDefines.h
+++ b/GTMDefines.h
@@ -217,21 +217,10 @@
#define GTM_AVAILABLE_ONLY_ON_MACOS UNAVAILABLE_ATTRIBUTE
#endif
-// Provide a symbol to include/exclude extra code for GC support. (This mainly
-// just controls the inclusion of finalize methods).
+// GC was dropped by Apple, define the old constant incase anyone still keys
+// off of it.
#ifndef GTM_SUPPORT_GC
- #if GTM_IPHONE_SDK
- // iPhone never needs GC
- #define GTM_SUPPORT_GC 0
- #else
- // We can't find a symbol to tell if GC is supported/required, so best we
- // do on Mac targets is include it if we're on 10.5 or later.
- #if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
- #define GTM_SUPPORT_GC 0
- #else
- #define GTM_SUPPORT_GC 1
- #endif
- #endif
+ #define GTM_SUPPORT_GC 0
#endif
// To simplify support for 64bit (and Leopard in general), we provide the type