summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-06 07:42:26 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-08-06 07:42:26 +0000
commit473e2824cba09c93e9afb40a127ad5f07704c7ae (patch)
treec2c3bc9f9498b3f399ac0a77b63ed919c690b105 /input
parentf83e779ee4c356947770069f6ccc993d23e981e3 (diff)
downloadmpv-473e2824cba09c93e9afb40a127ad5f07704c7ae.tar.bz2
mpv-473e2824cba09c93e9afb40a127ad5f07704c7ae.tar.xz
Rename all preprocessor directives related to Apple / Mac OS X.
Switch them from a HAVE_ to a CONFIG_ prefix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27420 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/input/input.c b/input/input.c
index 9b37e9ca6c..bca690f392 100644
--- a/input/input.c
+++ b/input/input.c
@@ -436,7 +436,7 @@ static const mp_cmd_bind_t def_cmd_binds[] = {
{ { JOY_BTN2, 0 }, "volume 1"},
{ { JOY_BTN3, 0 }, "volume -1"},
#endif
-#ifdef HAVE_APPLE_REMOTE
+#ifdef CONFIG_APPLE_REMOTE
{ { AR_PLAY, 0}, "pause" },
{ { AR_PLAY_HOLD, 0}, "quit" },
{ { AR_NEXT, 0 }, "seek 30" },
@@ -568,7 +568,7 @@ static int use_joystick = 1, use_lirc = 1, use_lircc = 1;
static char* config_file = "input.conf";
/* Apple Remote */
-#ifdef HAVE_APPLE_REMOTE
+#ifdef CONFIG_APPLE_REMOTE
static int use_ar = 1;
#else
static int use_ar = 0;
@@ -1759,7 +1759,7 @@ mp_input_init(int use_gui) {
}
#endif
-#ifdef HAVE_APPLE_REMOTE
+#ifdef CONFIG_APPLE_REMOTE
if(use_ar) {
if(mp_input_ar_init() < 0)
mp_msg(MSGT_INPUT,MSGL_ERR,MSGTR_INPUT_INPUT_ErrCantInitAppleRemote);
@@ -1768,7 +1768,7 @@ mp_input_init(int use_gui) {
}
#endif
-#ifdef HAVE_APPLE_IR
+#ifdef CONFIG_APPLE_IR
if(use_ar) {
int fd = mp_input_appleir_init(ar_dev);
if(fd < 0)