diff options
author | Ovnuniarchos <pujalte.jorge@gmail.com> | 2015-11-19 01:19:19 +0100 |
---|---|---|
committer | Ovnuniarchos <pujalte.jorge@gmail.com> | 2015-11-19 01:19:19 +0100 |
commit | a9a330645b29152ccc29b6e075c0ebda24b03e37 (patch) | |
tree | 2cf319ce8453dd295c40b809b4bf54527e4fe020 /platform/iphone/game_center.mm | |
parent | 0f0dc1a5d328502343c5a902aec552fb01033504 (diff) | |
parent | 94fdd01241749cb7a575ed5f9fa4c7bbb286901a (diff) |
Merge branch 'master' into BBCodeDocs
Diffstat (limited to 'platform/iphone/game_center.mm')
-rw-r--r-- | platform/iphone/game_center.mm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/iphone/game_center.mm b/platform/iphone/game_center.mm index 79c056776d..4cb7a20a7f 100644 --- a/platform/iphone/game_center.mm +++ b/platform/iphone/game_center.mm @@ -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" }; |