Skip to content

Commit 5fd4fbc

Browse files
author
Jorge Leandro Perez
authored
Merge pull request #283 from Automattic/lantean/fixes-macos-build
Fixes macOS build
2 parents 2651726 + b3518b5 commit 5fd4fbc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/Model/ObjC/Common/TracksDeviceInformation.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ @interface TracksDeviceInformation ()
2121
@property (nonatomic, assign) BOOL isReachableByWiFi;
2222
@property (nonatomic, assign) BOOL isReachableByWWAN;
2323

24+
#if TARGET_OS_IPHONE
2425
@property (nonatomic, assign) UIDeviceOrientation lastKnownDeviceOrientation;
2526
@property (nonatomic, strong) NSString *lastKnownPreferredContentSizeCategory;
27+
#endif
2628

2729
@end
2830

0 commit comments

Comments
 (0)