diff --git a/griffin/griffin_objc.m b/griffin/griffin_objc.m index 81c69e487a..9a7f154eed 100644 --- a/griffin/griffin_objc.m +++ b/griffin/griffin_objc.m @@ -1,6 +1,6 @@ #include -#ifdef __IPHONE_7_0 +#if defined(__IPHONE_7_0) && defined(TARGET_OS_IPHONE) #define HAVE_MFI #endif