diff --git a/src/MacVim/MacVim.h b/src/MacVim/MacVim.h index a075e2ca38..3b71ca9e7d 100644 --- a/src/MacVim/MacVim.h +++ b/src/MacVim/MacVim.h @@ -345,9 +345,13 @@ typedef unsigned int NSUInteger; # define NSINTEGER_DEFINED 1 #endif -#ifndef NSAppKitVersionNumber10_4 // Needed for pre-10.5 SDK +// Needed for pre-10.5 SDK +#ifndef NSAppKitVersionNumber10_4 # define NSAppKitVersionNumber10_4 824 #endif +#ifndef NSAppKitVersionNumber10_10_Max +# define NSAppKitVersionNumber10_10_Max 1349 +#endif #ifndef CGFLOAT_DEFINED // On Leopard, CGFloat is float on 32bit and double on 64bit. On Tiger,