File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2882,7 +2882,7 @@ void config_set_defaults(void *data)
28822882
28832883#if IOS
28842884 configuration_set_bool (settings ,
2885- settings -> bools .accessibility_enable , UIAccessibilityIsVoiceOverRunning ());
2885+ settings -> bools .accessibility_enable , RAIsVoiceOverRunning ());
28862886#endif
28872887
28882888#ifdef HAVE_MENU
Original file line number Diff line number Diff line change 33
44#if TARGET_OS_IPHONE
55/* this comes from UIKit but you cannot #include UIKit from C */
6- extern bool UIAccessibilityIsVoiceOverRunning (void );
6+ extern bool RAIsVoiceOverRunning (void );
77#endif
88
99#if TARGET_OS_TV
Original file line number Diff line number Diff line change 5656#include " ../../menu/menu_driver.h"
5757#endif
5858
59+ #if IOS
60+ #import < UIKit/UIAccessibility.h>
61+ extern bool RAIsVoiceOverRunning (void )
62+ {
63+ return UIAccessibilityIsVoiceOverRunning ();
64+ }
65+ #endif
66+
5967#if defined(HAVE_COCOA_METAL) || defined(HAVE_COCOATOUCH)
6068id <ApplePlatform> apple_platform;
6169#else
You can’t perform that action at this time.
0 commit comments