aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSString+Replace.m
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMNSString+Replace.m')
-rw-r--r--Foundation/GTMNSString+Replace.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Foundation/GTMNSString+Replace.m b/Foundation/GTMNSString+Replace.m
index f617945..ddaad5e 100644
--- a/Foundation/GTMNSString+Replace.m
+++ b/Foundation/GTMNSString+Replace.m
@@ -21,7 +21,7 @@
@implementation NSString (GTMStringReplaceAdditions)
-#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
// 10.5 has stringByReplacingOccurrencesOfString:withString:, use that directly.
- (NSString *)gtm_stringByReplacingString:(NSString *)target
@@ -48,6 +48,6 @@
return result;
}
-#endif // MAC_OS_X_VERSION_MIN_REQUIRED < 1050
+#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
@end