mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-29 11:10:27 +00:00
(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 <Availability.h>
|
||||
|
||||
#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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user