From 2288ff54e350668d865efa9c21d734b4a22a3082 Mon Sep 17 00:00:00 2001 From: theraven Date: Tue, 26 Jul 2011 17:42:22 +0000 Subject: [PATCH] Don't try to enable GC in ARC mode. --- abi_version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/abi_version.c b/abi_version.c index 4ddb64f..bfafd4e 100644 --- a/abi_version.c +++ b/abi_version.c @@ -130,7 +130,7 @@ PRIVATE BOOL objc_check_abi_version(struct objc_module_abi_8 *module) if (current_gc_mode == GC_Optional) { current_gc_mode = gc_mode; - if (gc_mode != GC_None) + if (gc_mode == GC_Required) { enableGC(NO); }