diff options
Diffstat (limited to 'Firebase/Database/Core/FRepo.m')
-rw-r--r-- | Firebase/Database/Core/FRepo.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Firebase/Database/Core/FRepo.m b/Firebase/Database/Core/FRepo.m index 06cc253..f04d0f1 100644 --- a/Firebase/Database/Core/FRepo.m +++ b/Firebase/Database/Core/FRepo.m @@ -50,7 +50,7 @@ #import "FValueEventRegistration.h" #import "FEmptyNode.h" -#ifdef TARGET_OS_IPHONE +#if TARGET_OS_IOS #import <UIKit/UIKit.h> #endif @@ -543,7 +543,7 @@ return; // Targetted compilation is ONLY for testing. UIKit is weak-linked in actual release build. -#if TARGET_OS_IPHONE + #if TARGET_OS_IOS // The idea is to wait until any outstanding sets get written to disk. Since the sets might still be in our // dispatch queue, we wait for the dispatch queue to catch up and for persistence to catch up. // This may be undesirable though. The dispatch queue might just be processing a bunch of incoming data or @@ -563,7 +563,7 @@ FFLog(@"I-RDB038018", @"Background task completed. Queue time: %f", finishTime); [application endBackgroundTask:bgTask]; }); -#endif + #endif } #pragma mark - |