changeset 24041:848c14615a94

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.
author uau
date Wed, 15 Aug 2007 04:50:55 +0000
parents c082e4011ca3
children 0354fab1e257
files mplayer.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mplayer.c	Tue Aug 14 19:51:47 2007 +0000
+++ b/mplayer.c	Wed Aug 15 04:50:55 2007 +0000
@@ -2603,11 +2603,7 @@
   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;