@@ -30,8 +30,18 @@
#include "game_center.h"
+#ifdef __IPHONE_9_0
+
#import <GameKit/GameKit.h>
extern "C" {
+#else
+extern "C" {
+#import <GameKit/GameKit.h>
+#endif
#import "app_delegate.h"
};
@@ -30,9 +30,17 @@
#include "icloud.h"
+#ifndef __IPHONE_9_0
#import <Foundation/Foundation.h>
+};
ICloud* ICloud::instance = NULL;
void ICloud::_bind_methods() {