summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/macosx_compat.h')
-rw-r--r--osdep/macosx_compat.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/osdep/macosx_compat.h b/osdep/macosx_compat.h
index f248538619..9775529bc6 100644
--- a/osdep/macosx_compat.h
+++ b/osdep/macosx_compat.h
@@ -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)