Mercurial > mplayer.hg
changeset 30669:44837471a711
Conditionally declare mp_input_slave_cmd_func().
It does only get compiled on MinGW and OS/2.
author | diego |
---|---|
date | Mon, 22 Feb 2010 15:35:53 +0000 |
parents | 46e7233f1faa |
children | fbd6ba7e0e14 |
files | osdep/getch2.h |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/osdep/getch2.h Mon Feb 22 15:34:56 2010 +0000 +++ b/osdep/getch2.h Mon Feb 22 15:35:53 2010 +0000 @@ -57,10 +57,9 @@ char *get_term_charset(void); #endif +#if defined(__MINGW32__) || defined(__OS2__) /* slave cmd function for Windows and OS/2 */ int mp_input_slave_cmd_func(int fd,char* dest,int size); - -#if defined(__MINGW32__) || defined(__OS2__) #define USE_SELECT 0 #define MP_INPUT_SLAVE_CMD_FUNC mp_input_slave_cmd_func #else