Permalink
Browse files

Forgot to make macVersionNumber definition only defined for Mac

  • Loading branch information...
brendanlim committed Jan 2, 2012
1 parent 9dc243e commit 23805c967f1a5ce4ef46270447fc1c97feb0070e
Showing with 2 additions and 1 deletion.
  1. +2 −1 KISSMetricsAPI.m
View
@@ -688,6 +688,7 @@ - (void)alias:(NSString *)firstIdentity withIdentity:(NSString *)secondIdentity
}
+#if TARGET_OS_MAC
+ (NSString *)macVersionNumber
{
SInt32 major, minor, bugfix;
@@ -697,6 +698,6 @@ + (NSString *)macVersionNumber
return [NSString stringWithFormat:@"%d.%d.%d", major, minor, bugfix];
}
-
+#endif
@end

0 comments on commit 23805c9

Please sign in to comment.