aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMNSString+Replace.h
diff options
context:
space:
mode:
Diffstat (limited to 'Foundation/GTMNSString+Replace.h')
-rw-r--r--Foundation/GTMNSString+Replace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Foundation/GTMNSString+Replace.h b/Foundation/GTMNSString+Replace.h
index edc8478..71a98c5 100644
--- a/Foundation/GTMNSString+Replace.h
+++ b/Foundation/GTMNSString+Replace.h
@@ -21,7 +21,7 @@
/// Give easy search-n-replace functionality to NSString.
@interface 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.
/// Returns a new autoreleased string by replacing all occurrences of
@@ -40,6 +40,6 @@
- (NSString *)gtm_stringByReplacingString:(NSString *)target
withString:(NSString *)replacement;
-#endif // MAC_OS_X_VERSION_MIN_REQUIRED < 1050
+#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_5
@end