Skip to content
This repository
Browse code

Auto-detect ARC.

  • Loading branch information...
commit 17e215e7909eda78c14bd909709d05a17dc43de4 1 parent 64f8b6d
Cody Rayment crayment authored

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 Source/CoreData+MagicalRecord.h
4 Source/CoreData+MagicalRecord.h
@@ -18,8 +18,10 @@
18 18
19 19 #import <CoreData/CoreData.h>
20 20
21   -#ifndef MR_USE_ARC
  21 +#if __has_feature(objc_arr)
22 22 #define MR_USE_ARC 1
  23 +#else
  24 +#define MR_USE_ARC 0
23 25 #endif
24 26
25 27 #if MR_USE_ARC

0 comments on commit 17e215e

Please sign in to comment.
Something went wrong with that request. Please try again.