Build fix for Leopard and older --- modules/highgui/src/window_cocoa.mm.orig 2014-10-01 02:33:36.000000000 -0500 +++ modules/highgui/src/window_cocoa.mm 2014-11-13 23:27:53.000000000 -0600 @@ -145,7 +145,7 @@ application = [NSApplication sharedApplication]; windows = [[NSMutableDictionary alloc] init]; -#if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 +#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1060 #ifndef NSAppKitVersionNumber10_5 #define NSAppKitVersionNumber10_5 949