From 1c53398b75196381e0ce914e60622d235cc4e824 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 30 Dec 2015 18:54:11 -1000 Subject: [PATCH] Additional ARC header check for Cocoa --- lib/mac/CocoaCommon.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/mac/CocoaCommon.hpp b/lib/mac/CocoaCommon.hpp index a8ced47..f457a54 100644 --- a/lib/mac/CocoaCommon.hpp +++ b/lib/mac/CocoaCommon.hpp @@ -2,6 +2,10 @@ #define BOO_COCOACOMMON_HPP #if __APPLE__ +#if !__has_feature(objc_arc) +#error ARC Required +#endif + #include #include