diff options
Diffstat (limited to 'Source/SPActivityTextFieldCell.m')
-rw-r--r-- | Source/SPActivityTextFieldCell.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPActivityTextFieldCell.m b/Source/SPActivityTextFieldCell.m index 5eb2deda..c088c9cb 100644 --- a/Source/SPActivityTextFieldCell.m +++ b/Source/SPActivityTextFieldCell.m @@ -33,6 +33,11 @@ #define FAVORITE_NAME_FONT_SIZE 12.0f +#ifndef NS_OPTIONS +// This type is available since 10.5 but only got a "name" in 10.8 +typedef NSUInteger NSCellHitResult; +#endif + @interface SPActivityTextFieldCell (PrivateAPI) - (NSAttributedString *)constructSubStringAttributedString; |