changeset 26103:128f089724d3

Remove va_start/vsnprintf workaround for OS/2. patch by KO Myung-Hun, komh chollian net
author diego
date Sat, 01 Mar 2008 09:50:06 +0000
parents 5eb017bb1568
children e5bce92eb572
files mp_msg.h
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mp_msg.h	Sat Mar 01 09:45:38 2008 +0000
+++ b/mp_msg.h	Sat Mar 01 09:50:06 2008 +0000
@@ -111,12 +111,6 @@
 
 #include "config.h"
 
-#ifdef __OS2__
-// va_start/vsnprintf seems to be broken under OS2 :(
-#define mp_msg(mod,lev, fmt, args... ) do{if((lev)<=mp_msg_levels[mod]) printf( fmt, ## args );}while(0)
-#define mp_dbg(mod,lev, args... ) 
-#else
-
 #ifdef __GNUC__
 void mp_msg(int mod, int lev, const char *format, ... ) __attribute__ ((format (printf, 3, 4)));
 #   ifdef MP_DEBUG
@@ -135,6 +129,4 @@
 
 const char* filename_recode(const char* filename);
 
-#endif /* __OS2__ */
-
 #endif /* MPLAYER_MP_MSG_H */