[MPlayer-cvslog] r30711 - trunk/osdep/getch2.h

diego subversion at mplayerhq.hu
Mon Feb 22 16:35:53 CET 2010


Author: diego
Date: Mon Feb 22 16:35:53 2010
New Revision: 30711

Log:
Conditionally declare mp_input_slave_cmd_func().
It does only get compiled on MinGW and OS/2.

Modified:
   trunk/osdep/getch2.h

Modified: trunk/osdep/getch2.h
==============================================================================
--- trunk/osdep/getch2.h	Mon Feb 22 16:34:56 2010	(r30710)
+++ trunk/osdep/getch2.h	Mon Feb 22 16:35:53 2010	(r30711)
@@ -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


More information about the MPlayer-cvslog mailing list