aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextAndLinkCell.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTextAndLinkCell.m')
-rw-r--r--Source/SPTextAndLinkCell.m5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/SPTextAndLinkCell.m b/Source/SPTextAndLinkCell.m
index 059ad6ec..86d8ca9d 100644
--- a/Source/SPTextAndLinkCell.m
+++ b/Source/SPTextAndLinkCell.m
@@ -42,6 +42,11 @@ static inline NSRect SPTextLinkRectFromCellRect(NSRect inRect)
return NSMakeRect(inRect.origin.x + inRect.size.width - 15, inRect.origin.y - 1, 12, inRect.size.height);
}
+#ifndef NS_OPTIONS
+// This type is available since 10.5 but only got a "name" in 10.8
+typedef NSUInteger NSCellHitResult;
+#endif
+
#pragma mark -
#pragma mark Setup and teardown