mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +00:00
fix(macOS): Fix older targets
This commit is contained in:
parent
a96b482d78
commit
d1712d7c5a
@ -23,7 +23,7 @@
|
|||||||
#include "cocoa_common.h"
|
#include "cocoa_common.h"
|
||||||
#include "../../ui_companion_driver.h"
|
#include "../../ui_companion_driver.h"
|
||||||
|
|
||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200
|
||||||
#define NSEventMaskAny NSAnyEventMask
|
#define NSEventMaskAny NSAnyEventMask
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
#include "../../ui_companion_driver.h"
|
#include "../../ui_companion_driver.h"
|
||||||
|
|
||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200
|
||||||
#define NSAlertStyleCritical NSCriticalAlertStyle
|
#define NSAlertStyleCritical NSCriticalAlertStyle
|
||||||
#define NSAlertStyleWarning NSWarningAlertStyle
|
#define NSAlertStyleWarning NSWarningAlertStyle
|
||||||
#define NSAlertStyleInformational NSInformationalAlertStyle
|
#define NSAlertStyleInformational NSInformationalAlertStyle
|
||||||
|
@ -71,7 +71,7 @@ static void app_terminate(void)
|
|||||||
|
|
||||||
@implementation RApplication
|
@implementation RApplication
|
||||||
|
|
||||||
#if MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_12
|
#if MAC_OS_X_VERSION_MAX_ALLOWED < 101200
|
||||||
#define NSEventTypeKeyDown NSKeyDown
|
#define NSEventTypeKeyDown NSKeyDown
|
||||||
#define NSEventTypeKeyUp NSKeyUp
|
#define NSEventTypeKeyUp NSKeyUp
|
||||||
#define NSEventTypeFlagsChanged NSFlagsChanged
|
#define NSEventTypeFlagsChanged NSFlagsChanged
|
||||||
|
Loading…
x
Reference in New Issue
Block a user