aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase/Database/Realtime/FWebSocketConnection.m
diff options
context:
space:
mode:
Diffstat (limited to 'Firebase/Database/Realtime/FWebSocketConnection.m')
-rw-r--r--Firebase/Database/Realtime/FWebSocketConnection.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Firebase/Database/Realtime/FWebSocketConnection.m b/Firebase/Database/Realtime/FWebSocketConnection.m
index 52e2296..ea64795 100644
--- a/Firebase/Database/Realtime/FWebSocketConnection.m
+++ b/Firebase/Database/Realtime/FWebSocketConnection.m
@@ -22,7 +22,7 @@
#import "FStringUtilities.h"
#import "FIRDatabase_Private.h"
-#if TARGET_OS_IPHONE
+#if TARGET_OS_IOS
#import <UIKit/UIKit.h>
#endif
@@ -82,7 +82,7 @@
BOOL hasUiDeviceClass = NO;
// Targetted compilation is ONLY for testing. UIKit is weak-linked in actual release build.
- #if TARGET_OS_IPHONE
+ #if TARGET_OS_IOS
Class uiDeviceClass = NSClassFromString(@"UIDevice");
if (uiDeviceClass) {
systemVersion = [uiDeviceClass currentDevice].systemVersion;