Skip to content

Commit

Permalink
Standardized target checking preprocessor macro usage
Browse files Browse the repository at this point in the history
  • Loading branch information
erkanyildiz committed Apr 28, 2017
1 parent 3a365a6 commit b3eda8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions CountlyCommon.h
Expand Up @@ -88,13 +88,13 @@ void CountlyInternalLog(NSString *format, ...) NS_FORMAT_FUNCTION(1,2);
- (void)activateWatchConnectivity;
#endif

#if (TARGET_OS_IOS)
#if TARGET_OS_IOS
- (void)transferParentDeviceID;
#endif
@end


#if (TARGET_OS_IOS)
#if TARGET_OS_IOS
@interface CLYInternalViewController : UIViewController
@end
#endif
Expand Down
4 changes: 2 additions & 2 deletions CountlyCommon.m
Expand Up @@ -108,7 +108,7 @@ - (void)activateWatchConnectivity
}
#endif

#if (TARGET_OS_IOS)
#if TARGET_OS_IOS
- (void)transferParentDeviceID
{
if(!self.enableAppleWatch)
Expand Down Expand Up @@ -146,7 +146,7 @@ - (void)session:(WCSession *)session didReceiveUserInfo:(NSDictionary<NSString *


#pragma mark - Internal ViewController
#if (TARGET_OS_IOS)
#if TARGET_OS_IOS
@implementation CLYInternalViewController : UIViewController

//NOTE: For using the same status bar preferences as the currently displayed view controller when a Countly triggered alert is displayed using a separate window
Expand Down

0 comments on commit b3eda8d

Please sign in to comment.