(iOS) Make GAMECONTROLLER_EXPORT blank when trying to compile on systems
with iOS 6 SDK
This commit is contained in:
parent
fdd7d8be88
commit
eb608fc09f
|
@ -6,6 +6,7 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
#import <Availability.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
#define GAMECONTROLLER_EXTERN extern "C" __attribute__((visibility ("default")))
|
#define GAMECONTROLLER_EXTERN extern "C" __attribute__((visibility ("default")))
|
||||||
|
@ -13,7 +14,11 @@
|
||||||
#define GAMECONTROLLER_EXTERN extern __attribute__((visibility ("default")))
|
#define GAMECONTROLLER_EXTERN extern __attribute__((visibility ("default")))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __IPHONE_7_0
|
||||||
|
#define GAMECONTROLLER_EXPORT
|
||||||
|
#else
|
||||||
#define GAMECONTROLLER_EXPORT NS_CLASS_AVAILABLE(10_9, 7_0)
|
#define GAMECONTROLLER_EXPORT NS_CLASS_AVAILABLE(10_9, 7_0)
|
||||||
|
#endif
|
||||||
|
|
||||||
#import "GCControllerElement.h"
|
#import "GCControllerElement.h"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue