Another ios9 buildfix
This commit is contained in:
parent
3e85a17d7a
commit
07a03811a2
|
@ -2882,7 +2882,7 @@ void config_set_defaults(void *data)
|
||||||
|
|
||||||
#if IOS
|
#if IOS
|
||||||
configuration_set_bool(settings,
|
configuration_set_bool(settings,
|
||||||
settings->bools.accessibility_enable, UIAccessibilityIsVoiceOverRunning());
|
settings->bools.accessibility_enable, RAIsVoiceOverRunning());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
#ifdef HAVE_MENU
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#if TARGET_OS_IPHONE
|
#if TARGET_OS_IPHONE
|
||||||
/* this comes from UIKit but you cannot #include UIKit from C */
|
/* this comes from UIKit but you cannot #include UIKit from C */
|
||||||
extern bool UIAccessibilityIsVoiceOverRunning(void);
|
extern bool RAIsVoiceOverRunning(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if TARGET_OS_TV
|
#if TARGET_OS_TV
|
||||||
|
|
|
@ -56,6 +56,14 @@
|
||||||
#include "../../menu/menu_driver.h"
|
#include "../../menu/menu_driver.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if IOS
|
||||||
|
#import <UIKit/UIAccessibility.h>
|
||||||
|
extern bool RAIsVoiceOverRunning(void)
|
||||||
|
{
|
||||||
|
return UIAccessibilityIsVoiceOverRunning();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_COCOA_METAL) || defined(HAVE_COCOATOUCH)
|
#if defined(HAVE_COCOA_METAL) || defined(HAVE_COCOATOUCH)
|
||||||
id<ApplePlatform> apple_platform;
|
id<ApplePlatform> apple_platform;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in New Issue