Browse files

Auto-detect ARC.

  • Loading branch information...
1 parent 64f8b6d commit 17e215e7909eda78c14bd909709d05a17dc43de4 @crayment crayment committed Dec 7, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 Source/CoreData+MagicalRecord.h
View
4 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 17e215e

Please sign in to comment.