From f4c0a1baa66b530c29bb6f5775d6aa5cdf63ea24 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Thu, 28 Dec 2023 16:03:47 -0500 Subject: [PATCH] iOS 9 build fix (#16056) --- ui/drivers/ui_cocoatouch.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/drivers/ui_cocoatouch.m b/ui/drivers/ui_cocoatouch.m index 90c1c7c6c86d..b15f9762fa2e 100644 --- a/ui/drivers/ui_cocoatouch.m +++ b/ui/drivers/ui_cocoatouch.m @@ -579,6 +579,7 @@ - (void)applicationDidBecomeActive:(UIApplication *)application if (!ui_companion_start_on_boot) [self showGameView]; +#ifdef HAVE_CLOUDSYNC if (self.bgDate) { if ( [[NSDate date] timeIntervalSinceDate:self.bgDate] > 60.0f @@ -587,6 +588,7 @@ - (void)applicationDidBecomeActive:(UIApplication *)application task_push_cloud_sync(); self.bgDate = nil; } +#endif } -(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary *)options {