From 80dd062ef96240f9cfb9b40df52da2cadbb55a80 Mon Sep 17 00:00:00 2001 From: uau Date: Wed, 15 Aug 2007 04:50:55 +0000 Subject: [PATCH] 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 --- mplayer.c | 4 ---- 1 file changed, 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;