diff options
author | Akemi <der.richter@gmx.de> | 2017-02-20 19:35:56 +0100 |
---|---|---|
committer | Akemi <der.richter@gmx.de> | 2017-02-27 23:53:53 +0100 |
commit | b5ca8c41cc62f1ef097f4fc93525dec8b84f59a0 (patch) | |
tree | 609bb7f65b9689e51cc38e949f4464b18004ba05 /osdep/macosx_compat.h | |
parent | 6028244160b75555b3d34aebc1274d25602f99fb (diff) | |
download | mpv-b5ca8c41cc62f1ef097f4fc93525dec8b84f59a0.tar.bz2 mpv-b5ca8c41cc62f1ef097f4fc93525dec8b84f59a0.tar.xz |
osx: drop support for OS X 10.7 and earlier
Diffstat (limited to 'osdep/macosx_compat.h')
-rw-r--r-- | osdep/macosx_compat.h | 27 |
1 files changed, 0 insertions, 27 deletions
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 */ |