mirror of
https://github.com/mpv-player/mpv
synced 2025-02-07 23:51:49 +00: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:
parent
61e256fd3c
commit
80dd062ef9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user