diff --git a/apple/common/GameController/GameController.h b/apple/common/GameController/GameController.h index 6cdc03e229..30735c35b9 100644 --- a/apple/common/GameController/GameController.h +++ b/apple/common/GameController/GameController.h @@ -6,6 +6,7 @@ // #import +#import #ifdef __cplusplus #define GAMECONTROLLER_EXTERN extern "C" __attribute__((visibility ("default"))) @@ -13,7 +14,11 @@ #define GAMECONTROLLER_EXTERN extern __attribute__((visibility ("default"))) #endif +#ifndef __IPHONE_7_0 +#define GAMECONTROLLER_EXPORT +#else #define GAMECONTROLLER_EXPORT NS_CLASS_AVAILABLE(10_9, 7_0) +#endif #import "GCControllerElement.h"