summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authoruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-15 04:50:55 +0000
committeruau <uau@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-15 04:50:55 +0000
commit80dd062ef96240f9cfb9b40df52da2cadbb55a80 (patch)
treee37b04093b8412e017e3c0a3ac9736d6729efdd6 /mplayer.c
parent61e256fd3c0fe933fc2245040622204fde4fb1c9 (diff)
downloadmpv-80dd062ef96240f9cfb9b40df52da2cadbb55a80.tar.bz2
mpv-80dd062ef96240f9cfb9b40df52da2cadbb55a80.tar.xz
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
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mplayer.c b/mplayer.c
index f6cb3efa2f..ba8c1bba83 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -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;