diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-07-14 07:20:49 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-07-14 07:21:44 +0200 |
commit | ac71cb86116c470067d7f03ad2f41f137cbe2dbd (patch) | |
tree | dadd8a8c0ba6e1bebd2492bc7633e2910f6d462f /osdep/macosx_versions.h | |
parent | 9fadc92eb1a194978a07b6774a2a1c72a0ace182 (diff) | |
download | mpv-ac71cb86116c470067d7f03ad2f41f137cbe2dbd.tar.bz2 mpv-ac71cb86116c470067d7f03ad2f41f137cbe2dbd.tar.xz |
cocoa: fix compilation on OS X 10.8
Diffstat (limited to 'osdep/macosx_versions.h')
-rw-r--r-- | osdep/macosx_versions.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/osdep/macosx_versions.h b/osdep/macosx_versions.h new file mode 100644 index 0000000000..83bcf5ddd7 --- /dev/null +++ b/osdep/macosx_versions.h @@ -0,0 +1,29 @@ +/* + * This file is part of mpv. + * + * mpv is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * mpv is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with mpv. If not, see <http://www.gnu.org/licenses/>. + */ + +#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 + +#endif /* MPV_MACOSX_VERSIONS */ |