0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

Remove pointless #ifdef

No need to mark stdin non-select()able in the mp_input_add_key_fd call
when no HAVE_POSIX_SELECT; input.c won't use select() on anything if
that is not defined.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24061 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2007-08-15 04:50:55 +00:00
parent 61e256fd3c
commit 80dd062ef9

View File

@ -2603,11 +2603,7 @@ if(slave_mode)
mp_input_add_cmd_fd(0,0,mp_input_win32_slave_cmd_func,NULL);
#endif
else if(!noconsolecontrols)
#ifdef HAVE_POSIX_SELECT
mp_input_add_key_fd(0,1,NULL,NULL);
#else
mp_input_add_key_fd(0,0,NULL,NULL);
#endif
inited_flags|=INITED_INPUT;
current_module = NULL;