diff options
author | Max <post@wickenrode.com> | 2014-12-13 20:42:45 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2014-12-13 20:42:45 +0100 |
commit | d5dd8b1eb5b8bfaa040ddc52d603231e4828cec7 (patch) | |
tree | db8c7901e39cf262b20154b806d58030bed07616 /Source/SPTextAndLinkCell.m | |
parent | 28a705f74854d5c34d0e952c0747a512c19fadc2 (diff) | |
download | sequelpro-d5dd8b1eb5b8bfaa040ddc52d603231e4828cec7.tar.gz sequelpro-d5dd8b1eb5b8bfaa040ddc52d603231e4828cec7.tar.bz2 sequelpro-d5dd8b1eb5b8bfaa040ddc52d603231e4828cec7.zip |
Attempt 1 to fix building on 10.7
Diffstat (limited to 'Source/SPTextAndLinkCell.m')
-rw-r--r-- | Source/SPTextAndLinkCell.m | 5 |
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 |