diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-22 15:35:53 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-02-22 15:35:53 +0000 |
commit | 6676504bbe3ba356585bfc64ee1624ddbecb37ee (patch) | |
tree | 750df36b72a83bd3550c75769ca37b899ea83bee | |
parent | 7262f6c9b4f3cd1bd8b98bcc40b74a05aa989ebc (diff) |
Conditionally declare mp_input_slave_cmd_func().
It does only get compiled on MinGW and OS/2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30711 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | osdep/getch2.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/osdep/getch2.h b/osdep/getch2.h index 35e9801970..5ee6108fc3 100644 --- a/osdep/getch2.h +++ b/osdep/getch2.h @@ -57,10 +57,9 @@ void getch2(void); 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 |