From 66cfd7c136bd16cb7a6999ccf2cb7eb081147730 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Mon, 26 Jul 2010 16:53:28 +0200 Subject: [PATCH] Fix problem when compiling without Core Text --- src/MacVim/MMCoreTextView+ToolTip.m | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/MacVim/MMCoreTextView+ToolTip.m b/src/MacVim/MMCoreTextView+ToolTip.m index 83fd12abb1..7d6a261fea 100644 --- a/src/MacVim/MMCoreTextView+ToolTip.m +++ b/src/MacVim/MMCoreTextView+ToolTip.m @@ -19,6 +19,10 @@ * changes were made to adapt the code to MacVim. */ +#import "Miscellaneous.h" // Defines MM_ENABLE_ATSUI + +#if !MM_ENABLE_ATSUI + #import "MMCoreTextView.h" @@ -228,3 +232,5 @@ static const NSTrackingRectTag kTrackingRectTag = 0xBADFACE; } @end + +#endif // !MM_ENABLE_ATSUI