Skip to content

Commit 7e1c6be

Browse files
committed
Merge pull request #92 from macvim-dev/fix/legacy-xcode
Define NSAppKitVersionNumber10_10_Max for legaxy Xcode Fix #91
2 parents e784f74 + 54a1107 commit 7e1c6be

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/MacVim/MacVim.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,9 +345,13 @@ typedef unsigned int NSUInteger;
345345
# define NSINTEGER_DEFINED 1
346346
#endif
347347

348-
#ifndef NSAppKitVersionNumber10_4 // Needed for pre-10.5 SDK
348+
// Needed for pre-10.5 SDK
349+
#ifndef NSAppKitVersionNumber10_4
349350
# define NSAppKitVersionNumber10_4 824
350351
#endif
352+
#ifndef NSAppKitVersionNumber10_10_Max
353+
# define NSAppKitVersionNumber10_10_Max 1349
354+
#endif
351355

352356
#ifndef CGFLOAT_DEFINED
353357
// On Leopard, CGFloat is float on 32bit and double on 64bit. On Tiger,

0 commit comments

Comments
 (0)