summaryrefslogtreecommitdiffstats
path: root/mp_msg.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-01 09:50:06 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-03-01 09:50:06 +0000
commitedf9dcba6b092bb6530d85df9b8aa77ad7dd2995 (patch)
tree8498ab084cd34b929e67fd7af9fa9c44519c02f5 /mp_msg.h
parent2922e180924b7abf1786a6ad14153dec036e87f7 (diff)
downloadmpv-edf9dcba6b092bb6530d85df9b8aa77ad7dd2995.tar.bz2
mpv-edf9dcba6b092bb6530d85df9b8aa77ad7dd2995.tar.xz
Remove va_start/vsnprintf workaround for OS/2.
patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26135 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp_msg.h')
-rw-r--r--mp_msg.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/mp_msg.h b/mp_msg.h
index c47e95484b..0f2776f922 100644
--- a/mp_msg.h
+++ b/mp_msg.h
@@ -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 *format, ... );
const char* filename_recode(const char* filename);
-#endif /* __OS2__ */
-
#endif /* MPLAYER_MP_MSG_H */