aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPActivityTextFieldCell.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2014-12-13 20:42:45 +0100
committerMax <post@wickenrode.com>2014-12-13 20:42:45 +0100
commitd5dd8b1eb5b8bfaa040ddc52d603231e4828cec7 (patch)
treedb8c7901e39cf262b20154b806d58030bed07616 /Source/SPActivityTextFieldCell.m
parent28a705f74854d5c34d0e952c0747a512c19fadc2 (diff)
downloadsequelpro-d5dd8b1eb5b8bfaa040ddc52d603231e4828cec7.tar.gz
sequelpro-d5dd8b1eb5b8bfaa040ddc52d603231e4828cec7.tar.bz2
sequelpro-d5dd8b1eb5b8bfaa040ddc52d603231e4828cec7.zip
Attempt 1 to fix building on 10.7
Diffstat (limited to 'Source/SPActivityTextFieldCell.m')
-rw-r--r--Source/SPActivityTextFieldCell.m5
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;