From 54d998d5e7f101312cf26e9fc4d199fa9fed33c2 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 1 Dec 2012 22:07:33 +0100 Subject: 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. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3