Mercurial > mplayer.hg
comparison mplayer.c @ 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 | b13fc23ee447 |
children | bf7545ebc044 |
comparison
equal
deleted
inserted
replaced
24040:c082e4011ca3 | 24041:848c14615a94 |
---|---|
2601 mp_input_add_cmd_fd(0,1,NULL,NULL); | 2601 mp_input_add_cmd_fd(0,1,NULL,NULL); |
2602 #else | 2602 #else |
2603 mp_input_add_cmd_fd(0,0,mp_input_win32_slave_cmd_func,NULL); | 2603 mp_input_add_cmd_fd(0,0,mp_input_win32_slave_cmd_func,NULL); |
2604 #endif | 2604 #endif |
2605 else if(!noconsolecontrols) | 2605 else if(!noconsolecontrols) |
2606 #ifdef HAVE_POSIX_SELECT | |
2607 mp_input_add_key_fd(0,1,NULL,NULL); | 2606 mp_input_add_key_fd(0,1,NULL,NULL); |
2608 #else | |
2609 mp_input_add_key_fd(0,0,NULL,NULL); | |
2610 #endif | |
2611 | 2607 |
2612 inited_flags|=INITED_INPUT; | 2608 inited_flags|=INITED_INPUT; |
2613 current_module = NULL; | 2609 current_module = NULL; |
2614 | 2610 |
2615 #ifdef HAVE_MENU | 2611 #ifdef HAVE_MENU |