diff options
author | der richter <der.richter@gmx.de> | 2019-12-23 00:02:23 +0100 |
---|---|---|
committer | der richter <der.richter@gmx.de> | 2019-12-23 23:44:20 +0100 |
commit | e7add205d8fdfcb31a569e282284b10db83130b9 (patch) | |
tree | 576580e6e609a96634149c516f5ccf9e8b96efa1 /etc/builtin.conf | |
parent | 9f2fda7d8530b5ce1e32dbaa7578c5d45cbf7a3d (diff) | |
download | mpv-e7add205d8fdfcb31a569e282284b10db83130b9.tar.bz2 mpv-e7add205d8fdfcb31a569e282284b10db83130b9.tar.xz |
build: fix build with disabled swift and Media Player
when swift is disabled some headers are not included. one of them is the
options/options.h header that is needed for the vo_sub_opts struct. we
include it to fix the build without swift.
the second problem is the build time check for the macOS 10.12.2
features or more specific the Media Player support. since it is a swift
feature we can not use it when swift is disabled. add a separate
Media Player check that also depends on swift and use that new
preprocessor variable as a build time check instead.
Fixes #7282
Diffstat (limited to 'etc/builtin.conf')
0 files changed, 0 insertions, 0 deletions