From 839232428f9c4399602107e5fcdb041c02ff1222 Mon Sep 17 00:00:00 2001 From: Kazuki Sakamoto Date: Tue, 2 Feb 2016 14:19:31 -0800 Subject: [PATCH] Fix #236 10.7 build --- src/MacVim/MMCoreTextView.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MacVim/MMCoreTextView.m b/src/MacVim/MMCoreTextView.m index 5bd76d63d9..a9e8b9ba10 100644 --- a/src/MacVim/MMCoreTextView.m +++ b/src/MacVim/MMCoreTextView.m @@ -44,10 +44,11 @@ #define DRAW_CURSOR 0x20 #define DRAW_WIDE 0x40 /* draw wide text */ -#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 - +#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8 #define kCTFontOrientationDefault kCTFontDefaultOrientation +#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8 +#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 static void CTFontDrawGlyphs(CTFontRef fontRef, const CGGlyph glyphs[], const CGPoint positions[], UniCharCount count, @@ -58,7 +59,6 @@ CTFontDrawGlyphs(CTFontRef fontRef, const CGGlyph glyphs[], CGContextShowGlyphsAtPositions(context, glyphs, positions, count); CGFontRelease(cgFontRef); } - #endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7 @interface MMCoreTextView (Private)