[MPlayer-cvslog] r26135 - trunk/mp_msg.h

diego subversion at mplayerhq.hu
Sat Mar 1 10:50:06 CET 2008


Author: diego
Date: Sat Mar  1 10:50:06 2008
New Revision: 26135

Log:
Remove va_start/vsnprintf workaround for OS/2.
patch by KO Myung-Hun, komh chollian net


Modified:
   trunk/mp_msg.h

Modified: trunk/mp_msg.h
==============================================================================
--- trunk/mp_msg.h	(original)
+++ trunk/mp_msg.h	Sat Mar  1 10:50:06 2008
@@ -111,12 +111,6 @@ int mp_msg_test(int mod, int lev);
 
 #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 @@ void mp_msg(int mod, int lev, const char
 
 const char* filename_recode(const char* filename);
 
-#endif /* __OS2__ */
-
 #endif /* MPLAYER_MP_MSG_H */



More information about the MPlayer-cvslog mailing list