Skip to content

Commit d0f9616

Browse files
committed
Replace a version magic number by a version macro
1 parent ebc4e6c commit d0f9616

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/MacVim/MMCoreTextView.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
#define DRAW_WIDE 0x80 /* draw wide text */
4646
#define DRAW_COMP 0x100 /* drawing composing char */
4747

48-
#if MAC_OS_X_VERSION_MIN_REQUIRED < 101300
48+
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_13
4949
typedef NSString * NSAttributedStringKey;
50-
#endif // MAC_OS_X_VERSION_MIN_REQUIRED < 101300
50+
#endif // MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_13
5151

5252
#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
5353
#define kCTFontOrientationDefault kCTFontDefaultOrientation

0 commit comments

Comments
 (0)