Permalink
Browse files

Merge branch 'feature/auto_detect_arc'

  • Loading branch information...
2 parents 04d6861 + 17e215e commit 681b428a5589edfac73cc19e522a7e504c61875e @crayment crayment committed Dec 7, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 Source/CoreData+MagicalRecord.h
@@ -18,8 +18,10 @@
#import <CoreData/CoreData.h>
-#ifndef MR_USE_ARC
+#if __has_feature(objc_arr)
#define MR_USE_ARC 1
+#else
+#define MR_USE_ARC 0
#endif
#if MR_USE_ARC

0 comments on commit 681b428

Please sign in to comment.