mpv/osdep
Stefano Pigozzi 0407869ae3 OSX: fix compilation with 10.7 SDK
Recent work in the OS X parts of the code started using clang's support for
Obj-C's support for Literals and Subscripting. These particular language
features remove a lot of boilerplate code and allow to interact with
collections as consicely as one would do in scripting languages like Ruby or
Python.

Even if these are compiler features, Subscripting needs some runtime support.
This is provided with libarclite (coming with the compiler), but we need to
add the proper method definitions since the 10.7 SDK headers do not include
them. That is because 10.7 shipped before this language features.

This will cause some warnings when compiling with the 10.7 SDK because the
commit also redefines BOOL to make autoboxing/unboxing of BOOL literals to
work.

If you need to test this for whatever reason on 10.8, just pass in the correct
SDK to configure's extra cflags:

  ./configure --extra-cflags='-mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk'

Fixes #117
2013-06-19 21:24:26 +02:00
..
ar osx: add Apple Remote support 2013-06-03 22:35:47 +02:00
getch2-win.c Prefix keycode defines with MP_ 2013-02-12 10:27:00 +01:00
getch2.c mp_msg: fix status output disappearing when redirecting INPUT. 2013-03-18 20:33:29 +01:00
getch2.h mp_msg, getch2: unix tty background support 2013-01-23 18:05:34 +01:00
glob-win.c
glob.h
io.c windows support: fix _wstat misusage 2013-01-13 17:32:39 +01:00
io.h windows support: fix _wstat misusage 2013-01-13 17:32:39 +01:00
macosx_application.h osx: create macosx_events to deal with keyDown events 2013-06-03 22:31:13 +02:00
macosx_application.m OSX: fix compilation with 10.7 SDK 2013-06-19 21:24:26 +02:00
macosx_application_objc.h macosx_events: handle key modifiers with media keys 2013-06-06 21:33:31 +02:00
macosx_bundle.h
macosx_bundle.m
macosx_compat.h OSX: fix compilation with 10.7 SDK 2013-06-19 21:24:26 +02:00
macosx_events.h osx: improve Media Keys support 2013-06-04 23:02:23 +02:00
macosx_events.m OSX: fix compilation with 10.7 SDK 2013-06-19 21:24:26 +02:00
mmap.h
mmap_anon.c
mmap_anon.h
mpv.exe.manifest
mpv.rc
numcores.c
numcores.h
priority.c
priority.h
timer-darwin.c timer: refactor, add 64 bit timer function 2013-05-26 16:44:20 +02:00
timer-linux.c timer: refactor, add 64 bit timer function 2013-05-26 16:44:20 +02:00
timer-win2.c timer: use gettimeofday() on Windows 2013-05-26 16:44:20 +02:00
timer.c Replace calls to usec_sleep() 2013-05-26 16:44:20 +02:00
timer.h Replace calls to usec_sleep() 2013-05-26 16:44:20 +02:00