Mercurial > mplayer.hg
diff input/input.c @ 27388:ac03760f7fcc
Rename all preprocessor directives related to Apple / Mac OS X.
Switch them from a HAVE_ to a CONFIG_ prefix.
| author | diego |
|---|---|
| date | Wed, 06 Aug 2008 07:42:26 +0000 |
| parents | 14c5017f40d2 |
| children | 1d2faa1020fb |
line wrap: on
line diff
--- a/input/input.c Tue Aug 05 16:32:47 2008 +0000 +++ b/input/input.c Wed Aug 06 07:42:26 2008 +0000 @@ -436,7 +436,7 @@ { { 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 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 @@ } #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 @@ } #endif -#ifdef HAVE_APPLE_IR +#ifdef CONFIG_APPLE_IR if(use_ar) { int fd = mp_input_appleir_init(ar_dev); if(fd < 0)
