diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-07 08:58:07 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-08-07 08:58:07 +0000 |
commit | 141e81cce4fb780a1e2f791c79c1664956401af7 (patch) | |
tree | 01ca9845852536dea18a7d5654783a336ba27eff /input | |
parent | 024b6efdf1439c2573350048a433d0324dcee349 (diff) | |
download | mpv-141e81cce4fb780a1e2f791c79c1664956401af7.tar.bz2 mpv-141e81cce4fb780a1e2f791c79c1664956401af7.tar.xz |
Rename a bunch of miscellaneous preprocessor directives.
Switch them from a HAVE_ to a CONFIG_ prefix.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27423 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/input/input.c b/input/input.c index bca690f392..0a9b571f0e 100644 --- a/input/input.c +++ b/input/input.c @@ -29,11 +29,11 @@ #include "joystick.h" -#ifdef HAVE_LIRC +#ifdef CONFIG_LIRC #include "lirc.h" #endif -#ifdef HAVE_LIRCC +#ifdef CONFIG_LIRCC #include <lirc/lircc.h> #endif @@ -426,7 +426,7 @@ static const mp_cmd_bind_t def_cmd_binds[] = { { { 'W', 0 }, "step_property teletext_page 1" }, { { 'Q', 0 }, "step_property teletext_page -1" }, #endif -#ifdef HAVE_JOYSTICK +#ifdef CONFIG_JOYSTICK { { JOY_AXIS0_PLUS, 0 }, "seek 10" }, { { JOY_AXIS0_MINUS, 0 }, "seek -10" }, { { JOY_AXIS1_MINUS, 0 }, "seek 60" }, @@ -1733,7 +1733,7 @@ mp_input_init(int use_gui) { free(file); } -#ifdef HAVE_JOYSTICK +#ifdef CONFIG_JOYSTICK if(use_joystick) { int fd = mp_input_joystick_init(js_dev); if(fd < 0) @@ -1743,7 +1743,7 @@ mp_input_init(int use_gui) { } #endif -#ifdef HAVE_LIRC +#ifdef CONFIG_LIRC if(use_lirc) { int fd = mp_input_lirc_init(); if(fd > 0) @@ -1751,7 +1751,7 @@ mp_input_init(int use_gui) { } #endif -#ifdef HAVE_LIRCC +#ifdef CONFIG_LIRCC if(use_lircc) { int fd = lircc_init("mplayer", NULL); if(fd >= 0) |