summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-12-01 22:07:33 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2012-12-02 10:42:46 +0100
commit54d998d5e7f101312cf26e9fc4d199fa9fed33c2 (patch)
treed37d0a543b6de84b86a06f82dfdd5700db455b3a /Makefile
parent96fb9103b55b253002fa8bc536c65f07477d4b69 (diff)
downloadmpv-54d998d5e7f101312cf26e9fc4d199fa9fed33c2.tar.bz2
mpv-54d998d5e7f101312cf26e9fc4d199fa9fed33c2.tar.xz
osx_common: Avoid deprecated Gestalt calls
Gestalt is deprecated since 10.8. Change the code to read the OS version from a system plist file. As mentioned http://stackoverflow.com/a/11072974/499456 Apple engineers are suggesting this plist reading approach.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6a7094ca7b..2e0fae4ec9 100644
--- a/Makefile
+++ b/Makefile
@@ -47,7 +47,7 @@ SOURCES-$(LIBPOSTPROC) += video/filter/vf_pp.c
SOURCES-$(LIBSMBCLIENT) += stream/stream_smb.c
SOURCES-$(MACOSX_FINDER) += osdep/macosx_finder_args.m
-SOURCES-$(COCOA) += video/out/osx_common.c \
+SOURCES-$(COCOA) += video/out/osx_common.m \
video/out/cocoa_common.m \
osdep/cocoa_events.m
SOURCES-$(MNG) += demux/demux_mng.c