(Griffin ObjC) Don't compile in apple_gamecontroller if __IPHONE_7_0

not defined
This commit is contained in:
Twinaphex 2015-02-28 19:52:26 +01:00
parent c25377e513
commit 708b6a50ae

@ -1,3 +1,9 @@
#include <Availability.h>
#ifdef __IPHONE_7_0
#define HAVE_MFI
#endif
#include "../apple/common/CFExtensions.m"
#include "../apple/common/utility.m"
@ -10,6 +16,8 @@
#include "../apple/iOS/platform.m"
#include "../apple/iOS/menu.m"
#include "../apple/iOS/browser.m"
#endif
#ifdef HAVE_MFI
#include "../apple/common/apple_gamecontroller.m"
#endif