mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 04:21:13 +00:00
(iOS/Apple) Include <AvailabilityMacros.h instead of #import <Availability>
This commit is contained in:
parent
4550019b2c
commit
17d6a940c0
@ -6,7 +6,7 @@
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
||||
#import <Availability.h>
|
||||
#include <AvailabilityMacros.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define GAMECONTROLLER_EXTERN extern "C" __attribute__((visibility ("default")))
|
||||
@ -32,4 +32,4 @@
|
||||
#import "GCExtendedGamepad.h"
|
||||
#import "GCExtendedGamepadSnapshot.h"
|
||||
|
||||
#import "GCController.h"
|
||||
#import "GCController.h"
|
||||
|
@ -13,7 +13,7 @@
|
||||
* If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include <Availability.h>
|
||||
#include <AvailabilityMacros.h>
|
||||
#include "RetroArch_Apple.h"
|
||||
#import "GameController/GameController.h"
|
||||
#include "apple_gamecontroller.h"
|
||||
|
@ -20,9 +20,11 @@
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef IOS
|
||||
#import <Availability.h>
|
||||
#ifdef __APPLE__
|
||||
#include <AvailabilityMacros.h>
|
||||
#endif
|
||||
|
||||
#ifdef IOS
|
||||
#ifndef __IPHONE_5_0
|
||||
#warning "This project uses features only available in iOS SDK 5.0 and later."
|
||||
#endif
|
||||
|
@ -1257,6 +1257,8 @@ static void xmb_frame(void)
|
||||
|
||||
if (!menu)
|
||||
return;
|
||||
|
||||
(void)font_driver;
|
||||
|
||||
xmb = (xmb_handle_t*)menu->userdata;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user