From b5ca8c41cc62f1ef097f4fc93525dec8b84f59a0 Mon Sep 17 00:00:00 2001 From: Akemi Date: Mon, 20 Feb 2017 19:35:56 +0100 Subject: osx: drop support for OS X 10.7 and earlier --- osdep/macosx_compat.h | 27 --------------------------- osdep/macosx_versions.h | 4 ---- 2 files changed, 31 deletions(-) (limited to 'osdep') diff --git a/osdep/macosx_compat.h b/osdep/macosx_compat.h index c8099d7def..06b8cbd175 100644 --- a/osdep/macosx_compat.h +++ b/osdep/macosx_compat.h @@ -51,31 +51,4 @@ static const NSEventModifierFlags NSEventModifierFlagCommand = NSCommandKeyMask static const NSEventModifierFlags NSEventModifierFlagOption = NSAlternateKeyMask; #endif -#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_8) -@interface NSArray (SubscriptingAdditions) -- (id)objectAtIndexedSubscript:(NSUInteger)index; -@end - -@interface NSMutableArray (SubscriptingAdditions) -- (void)setObject: (id)object atIndexedSubscript:(NSUInteger)index; -@end - -@interface NSDictionary (SubscriptingAdditions) -- (id)objectForKeyedSubscript:(id)key; -@end - -@interface NSMutableDictionary (SubscriptingAdditions) -- (void)setObject: (id)object forKeyedSubscript:(id)key; -@end - -#if __has_feature(objc_bool) - #define YES __objc_yes - #define NO __objc_no -#else - #define YES ((BOOL)1) - #define NO ((BOOL)0) -#endif - -#endif - #endif /* MPV_MACOSX_COMPAT */ diff --git a/osdep/macosx_versions.h b/osdep/macosx_versions.h index f4c49ab4e3..0a03a35820 100644 --- a/osdep/macosx_versions.h +++ b/osdep/macosx_versions.h @@ -18,10 +18,6 @@ #ifndef MPV_MACOSX_VERSIONS #define MPV_MACOSX_VERSIONS -#if !defined(MAC_OS_X_VERSION_10_8) -# define MAC_OS_X_VERSION_10_8 1080 -#endif - #if !defined(MAC_OS_X_VERSION_10_9) # define MAC_OS_X_VERSION_10_9 1090 #endif -- cgit v1.2.3