mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
cocoa: fix compilation on OS X 10.8
This commit is contained in:
@@ -22,10 +22,7 @@
|
||||
#define MPV_MACOSX_COMPAT
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
|
||||
#if !defined(MAC_OS_X_VERSION_10_8)
|
||||
# define MAC_OS_X_VERSION_10_8 MAC_OS_X_VERSION_10_7 + 1
|
||||
#endif
|
||||
#include "osdep/macosx_versions.h"
|
||||
|
||||
#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_8)
|
||||
@interface NSArray (SubscriptingAdditions)
|
||||
|
||||
Reference in New Issue
Block a user