Permalink
Browse files

Simplify logic for auto-detecting ARC

  • Loading branch information...
1 parent 17e215e commit 480c475ae9bbd1d5c264a209d10f390d5ebb36d5 @crayment crayment committed Dec 7, 2011
Showing with 1 addition and 5 deletions.
  1. +1 −5 Source/CoreData+MagicalRecord.h
@@ -18,11 +18,7 @@
#import <CoreData/CoreData.h>
-#if __has_feature(objc_arr)
-#define MR_USE_ARC 1
-#else
-#define MR_USE_ARC 0
-#endif
+#define MR_USE_ARC __has_feature(objc_arr)
#if MR_USE_ARC
#define MR_RETAIN(xx) ((void)0)

0 comments on commit 480c475

Please sign in to comment.