From 473e2824cba09c93e9afb40a127ad5f07704c7ae Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 6 Aug 2008 07:42:26 +0000 Subject: 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 --- input/input.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'input/input.c') 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) -- cgit v1.2.3