summaryrefslogtreecommitdiffstats
path: root/osdep/macosx_compat.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2014-07-14 07:20:49 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2014-07-14 07:21:44 +0200
commitac71cb86116c470067d7f03ad2f41f137cbe2dbd (patch)
treedadd8a8c0ba6e1bebd2492bc7633e2910f6d462f /osdep/macosx_compat.h
parent9fadc92eb1a194978a07b6774a2a1c72a0ace182 (diff)
downloadmpv-ac71cb86116c470067d7f03ad2f41f137cbe2dbd.tar.bz2
mpv-ac71cb86116c470067d7f03ad2f41f137cbe2dbd.tar.xz
cocoa: fix compilation on OS X 10.8
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)