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